llvm-project/lld/ELF/Arch
Rui Ueyama 864289990a Handle R_X86_64_GOTOFF64.
R_X86_64_GOTOFF64 is a relocation type to set to a distance betwween
a symbol and the beginning of the .got section. Previously, we always
created a dynamic relocation for the relocation type even though it
can be resolved at link-time.

Creating a dynamic relocation for R_X86_64_GOTOFF64 caused link failure
for some programs that do have a relocation of the type in a .text
section, as text relocations are prohibited in most configurations.

Differential Revision: https://reviews.llvm.org/D48058

llvm-svn: 334534
2018-06-12 20:27:16 +00:00
..
AArch64.cpp [ELF][AArch64] Implement the AArch64 TLSLD_LDST_LO12 family of relocs 2018-05-04 08:53:34 +00:00
AMDGPU.cpp AMDGPU/LLD: Handle R_AMDGPU_REL64 relocation 2018-06-11 21:42:53 +00:00
ARM.cpp [ELF] - Eliminate Target::isPicRel method. 2018-04-05 12:07:20 +00:00
AVR.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Mips.cpp [ELF][MIPS] Reorganize isMipsPIC routine. NFC 2018-05-04 20:48:53 +00:00
MipsArchTree.cpp [ELF][mips] Print the full file path for files with incompatible ISA 2017-12-07 16:08:59 +00:00
PPC.cpp [ELF] Recommit 327248 with Arm using the .got for _GLOBAL_OFFSET_TABLE_ 2018-03-19 06:52:51 +00:00
PPC64.cpp [ELF][PPC64] Support R_PPC64_DTPREL64 which may be emitted in .rela.debug_addr 2018-06-12 20:26:49 +00:00
SPARCV9.cpp Do not use template for check{Int,UInt,IntUInt,Alignment}. 2018-03-29 22:40:52 +00:00
X86.cpp Rename R_TLSGD/R_TLSLD to add _GOT_FROM_END. NFC. 2018-05-31 18:07:06 +00:00
X86_64.cpp Handle R_X86_64_GOTOFF64. 2018-06-12 20:27:16 +00:00