[llvm] r211150 - [llvm-readobj][ELF] New `-mips-plt-got` command line option to output

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 07:16:14 PST 2016


> Thanks. Yes, the main request is to make sure only one section matches
> whatever criteria we use for the search.

A simple way to get a testcase where the current code fails:


ld.gold ~/llvm/build/tools/lld/test/ELF/Output/mips-got-extsym.s.tmp.o
~/llvm/build/tools/lld/test/ELF/Output/mips-got-extsym.s.tmp.so -o t

running llvm-readobj on t will print

MIPS_LOCAL_GOTNO exceeds a number of GOT entries.

because an empty .data is at the same address.

Cheers,
Rafael


More information about the llvm-commits mailing list