[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
Fri May 25 23:53:25 PDT 2018


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

Remove R_X86_64_GOTOFF64 as grimar@ suggested


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-reloc-shared.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47098.148703.patch
Type: text/x-patch
Size: 9722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180526/778625b5/attachment.bin>


More information about the llvm-commits mailing list