[PATCH] D16968: [llvm-readobj][ELF] Show MIPS GOT content when there is another zero-sized section at the same address

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 7 09:57:35 PST 2016


atanasyan created this revision.
atanasyan added a reviewer: rafael.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.

It is possible to have .got section and one or more zero-sized section at the same address. This patch first checks that GOT (or GOT PLT) section should have non-zero size using corresponding dynamic tags. Then it looks up not empty section at the specified address.

Repository:
  rL LLVM

http://reviews.llvm.org/D16968

Files:
  test/tools/llvm-readobj/Inputs/got-over.exe.elf-mips
  test/tools/llvm-readobj/mips-got-overlapped.test
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16968.47135.patch
Type: text/x-patch
Size: 4837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160207/2d3ab494/attachment.bin>


More information about the llvm-commits mailing list