llvm-project/lld/ELF/Arch
Sid Manning 261eec5fa5 [ELF][HEXAGON] Add support for GOT relocations.
The GOT is referenced through the symbol _GLOBAL_OFFSET_TABLE_ .

The relocation added calculates the offset into the global offset table for
the entry of a symbol.  In order to get the correct TargetVA I needed to
create an new relocation expression, HEXAGON_GOT.  It does
Sym.getGotVA() - In.GotPlt->getVA().

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

llvm-svn: 343784
2018-10-04 14:54:17 +00:00
..
AArch64.cpp [AArch64] Fix range check of R_AARCH64_TLSLE_ADD_TPREL_HI12 2018-09-26 20:50:38 +00:00
AMDGPU.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
ARM.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
AVR.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
Hexagon.cpp [ELF][HEXAGON] Add support for GOT relocations. 2018-10-04 14:54:17 +00:00
Mips.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
MipsArchTree.cpp [ELF][MIPS] Add mote tests on MipsArchTree routines, fix typos in error messages 2018-07-10 16:51:17 +00:00
PPC.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
PPC64.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
RISCV.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
SPARCV9.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
X86.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00
X86_64.cpp [ELF] - Do not fail on R_*_NONE relocations when parsing the debug info. 2018-09-26 08:11:34 +00:00