[PATCH] D98818: [llvm-readobj] Dump new GNU_PROPERTY_X86_ISA_1_{NEEDED,USED} notes in .note.gnu.property

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 14:52:26 PDT 2021


MaskRay created this revision.
MaskRay added reviewers: jhenderson, rupprecht.
Herald added subscribers: pengfei, emaste.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://sourceware.org/bugzilla/show_bug.cgi?id=26703
(note: the `GNU_PROPERTY_X86_ISA_1_{NEEDED,USED}` values changed.
D98817 <https://reviews.llvm.org/D98817> has removed support for the old values.)

GCC 11 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97250)
`-march=x86-64-v[234]` produced object files have such notes to indicate the
micro-architecture ISA levels.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98818

Files:
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98818.331382.patch
Type: text/x-patch
Size: 5249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210317/16531dc8/attachment.bin>


More information about the llvm-commits mailing list