[PATCH] D13835: [ELF2] - Implemented R_X86_64_PLT32 rellocation.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 15:29:15 PDT 2015


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

Note: There is sometimes no need to generate rellocation via PLT. 
Example - when symbol is not undefined and we are not creating shared library. Then we can create relative relocation instead of referencing and creating PLT records.
That is how ld behaves I believe.

http://reviews.llvm.org/D13835

Files:
  ELF/Target.cpp
  test/elf2/plt.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13835.37649.patch
Type: text/x-patch
Size: 3761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151016/888ccbfb/attachment.bin>


More information about the llvm-commits mailing list