[PATCH] D47098: [ELF] Make R_GOTONLY_PC_FROM_END R_GOTREL_FROM_END relative to _GLOBAL_OFFSET_TABLE_ instead of end of .got, and support R_X86_64_GO│····· TPC32 and R_X86_64_GOTOFF64

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 23:36:51 PDT 2018


MaskRay updated this revision to Diff 147652.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Add case R_X86_64_GOTPC64: (used in -mcmodel=large)


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47098

Files:
  ELF/Arch/X86_64.cpp
  ELF/InputSection.cpp
  ELF/Relocations.cpp
  ELF/SyntheticSections.cpp
  test/ELF/got-i386.s
  test/ELF/i386-gotoff-shared.s
  test/ELF/i386-gotpc-dynamic.s
  test/ELF/i386-gotpc.s
  test/ELF/relocation-i686.s
  test/ELF/x86_64/relocation/shared.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47098.147652.patch
Type: text/x-patch
Size: 10000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180519/46eaccb2/attachment.bin>


More information about the llvm-commits mailing list