[all-commits] [llvm/llvm-project] 948be8: [llvm-readobj] Remove legacy GNU_PROPERTY_X86_ISA_...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Mar 19 14:35:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 948be862d6dde3ae5ebf3983f78ec2eee5422ed1
https://github.com/llvm/llvm-project/commit/948be862d6dde3ae5ebf3983f78ec2eee5422ed1
Author: Fangrui Song <i at maskray.me>
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj] Remove legacy GNU_PROPERTY_X86_ISA_1_{NEEDED,USED} and dump new GNU_PROPERTY_X86_ISA_1_{NEEDED,USED}
https://sourceware.org/bugzilla/show_bug.cgi?id=26703 deprecated the
previous GNU_PROPERTY_X86_ISA_1_{CMOV,SSE,*} values (renamed to `COMPAT`)
and added new values.
Since the legacy values are not used by compilers, having dumping support in
llvm-readobj is unnecessary. So just drop the legacy feature.
The new values are used by GCC 11
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97250) `-march=x86-64-v[234]` to
indicate the micro-architecture ISA levels.
Differential Revision: https://reviews.llvm.org/D98818
More information about the All-commits
mailing list