[PATCH] D70959: [ELF] Support for PT_GNU_PROPERTY in program headers and tools

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 09:18:57 PST 2019


peter.smith added inline comments.


================
Comment at: llvm/test/tools/llvm-objdump/elf-pt-gnu-property.test:7
+# CHECK: Program Header:
+# CHECK-NEXT: GNU_PROPERTY off    0x0000000000000078 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
+# CHECK-NEXT: filesz 0x0000000000000020 memsz 0x0000000000000020 flags ---
----------------
jhenderson wrote:
> Does this output match GNU objdump's by the way?
Looking at the binutils source, there doesn't seem to be an entry in objdump for PT_GNU_PROPERTY, although there is one for readelf. Going by the way PT_GNU_RELRO is printed out in objdump "RELRO", I think PROPERTY is closer to what I'd expect objdump to do.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70959/new/

https://reviews.llvm.org/D70959





More information about the llvm-commits mailing list