[all-commits] [llvm/llvm-project] 74a47e: [llvm-objdump] Fix -R display and support ET_EXEC

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Sep 28 09:58:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74a47e54be7992b6ccad36b53b6808a7032607c7
      https://github.com/llvm/llvm-project/commit/74a47e54be7992b6ccad36b53b6808a7032607c7
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-28 (Tue, 28 Sep 2021)

  Changed paths:
    M lld/test/ELF/got32-i386-pie-rw.s
    A llvm/test/tools/llvm-objdump/ELF/dynamic-relocs.test
    R llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs-rel.test
    R llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump] Fix -R display and support ET_EXEC

* 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.

Reviewed By: jhenderson, Higuoxing

Differential Revision: https://reviews.llvm.org/D110595




More information about the All-commits mailing list