[PATCH] D47098: [ELF] Make R_GOTONLY_PC_FROM_END R_GOTREL_FROM_END relative to _GLOBAL_OFFSET_TABLE_ instead of end of .got

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 09:09:10 PDT 2018


MaskRay updated this revision to Diff 149136.
MaskRay added a comment.

Keep only R_X86_64_GOTPC{32,64}


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47098

Files:
  ELF/Arch/X86_64.cpp
  ELF/Relocations.cpp
  test/ELF/x86-64-reloc-got.s
  test/ELF/x86-64-reloc-got2.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47098.149136.patch
Type: text/x-patch
Size: 4129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/8d1e90e3/attachment.bin>


More information about the llvm-commits mailing list