hanchenye-llvm-project/lld/ELF/Arch
Harald van Dijk d62413452f
[lld][X86] Restore gotEntrySize.
D62727 removed GotEntrySize and GotPltEntrySize with a comment that they
are always equal to wordsize(), but that is not entirely true: X32 has a
word size of 4, but needs 8-byte GOT entries. This restores gotEntrySize
for both, adjusted for current naming conventions, but defaults it to
config->wordsize to keep things simple for architectures other than
x86_64.

This partially reverts D62727.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D102509
2021-05-17 00:13:00 +01:00
..
AArch64.cpp [ELF] Support aarch64_be 2021-02-08 08:55:29 -08:00
AMDGPU.cpp AMDGPU/LLD: Add target id and code object v4 support to linker 2021-03-24 13:41:10 -04:00
ARM.cpp [LLD][ELF][ARM] Refactor inBranchRange to use addend for PC Bias 2021-03-02 11:02:33 +00:00
AVR.cpp [ELF][AVR] Add explicit relocation types to getRelExpr 2021-05-12 12:38:27 -07:00
Hexagon.cpp [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC 2020-12-18 08:24:42 -08:00
MSP430.cpp
Mips.cpp [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC 2020-12-18 08:24:42 -08:00
MipsArchTree.cpp
PPC.cpp [ELF] Support R_PPC_ADDR24 (ba foo; bla foo) 2021-01-17 00:02:13 -08:00
PPC64.cpp [LLD][PowerPC] Fix bug in PC-Relative initial exec 2021-03-22 13:15:44 -05:00
PPCInsns.def
RISCV.cpp [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC 2020-12-18 08:24:42 -08:00
SPARCV9.cpp [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC 2020-12-18 08:24:42 -08:00
X86.cpp [ELF] Rename R_TLS to R_TPREL and R_NEG_TLS to R_TPREL_NEG. NFC 2020-12-18 08:24:42 -08:00
X86_64.cpp [lld][X86] Restore gotEntrySize. 2021-05-17 00:13:00 +01:00