- Add a newline before DYNAMIC RELOCATION RECORDS (see D101796)
- Add the missing OFFSET TYPE VALUE line
- Align columns
Note: llvm-readobj/ELFDumper.cpp loadDynamicTable has sophisticated PT_DYNAMIC
code which is unavailable in llvm-objdump.
Paths
| Differential D110595
[llvm-objdump] Fix -R display and support ET_EXEC ClosedPublic Authored by MaskRay on Sep 27 2021, 2:56 PM.
Details Summary
Note: llvm-readobj/ELFDumper.cpp loadDynamicTable has sophisticated PT_DYNAMIC
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 27 2021, 6:05 PM Comment Actions LGTM, with one other suggestion.
This revision was landed with ongoing or failed builds.Sep 28 2021, 9:58 AM Closed by commit rG74a47e54be79: [llvm-objdump] Fix -R display and support ET_EXEC (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375626 lld/test/ELF/got32-i386-pie-rw.s
llvm/test/tools/llvm-objdump/ELF/dynamic-relocs.test
llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs-rel.test
llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test
llvm/tools/llvm-objdump/llvm-objdump.cpp
|
It might be interesting to perform one of these runs (or an additional run) with an arbitrary ELF type e.g. 0x1234, to better show that the type doesn't matter at all.