/external/llvm-project/lld/ELF/Arch/ |
D | AArch64.cpp | 213 relocateNoSym(buf + 4, R_AARCH64_ADR_PREL_PG_HI21, in writePltHeader() 215 relocateNoSym(buf + 8, R_AARCH64_LDST64_ABS_LO12_NC, got + 16); in writePltHeader() 216 relocateNoSym(buf + 12, R_AARCH64_ADD_ABS_LO12_NC, got + 16); in writePltHeader() 230 relocateNoSym(buf, R_AARCH64_ADR_PREL_PG_HI21, in writePlt() 232 relocateNoSym(buf + 4, R_AARCH64_LDST64_ABS_LO12_NC, gotPltEntryAddr); in writePlt() 233 relocateNoSym(buf + 8, R_AARCH64_ADD_ABS_LO12_NC, gotPltEntryAddr); in writePlt() 520 relocateNoSym(loc, R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, val); in relaxTlsGdToIe() 524 relocateNoSym(loc, R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, val); in relaxTlsGdToIe() 645 relocateNoSym(buf + 4, R_AARCH64_ADR_PREL_PG_HI21, in writePltHeader() 647 relocateNoSym(buf + 8, R_AARCH64_LDST64_ABS_LO12_NC, got + 16); in writePltHeader() [all …]
|
D | Hexagon.cpp | 363 relocateNoSym(buf, R_HEX_B32_PCREL_X, off); in writePltHeader() 364 relocateNoSym(buf + 4, R_HEX_6_PCREL_X, off); in writePltHeader() 378 relocateNoSym(buf, R_HEX_B32_PCREL_X, gotPltEntryAddr - pltEntryAddr); in writePlt() 379 relocateNoSym(buf + 4, R_HEX_6_PCREL_X, gotPltEntryAddr - pltEntryAddr); in writePlt()
|
D | PPC64.cpp | 654 relocateNoSym(loc, R_PPC64_TOC16_LO, val); in relaxGot() 729 relocateNoSym(loc, R_PPC64_TPREL16_HA, val); in relaxTlsGdToLe() 735 relocateNoSym(loc, R_PPC64_TPREL34, val); in relaxTlsGdToLe() 754 relocateNoSym(loc + 4 + (config->ekind == ELF64BEKind ? 2 : 0), in relaxTlsGdToLe() 888 relocateNoSym(loc, R_PPC64_TPREL16_HA, val); in relaxTlsIeToLe() 895 relocateNoSym(loc, R_PPC64_TPREL34, val); in relaxTlsIeToLe() 909 relocateNoSym(loc + offset, R_PPC64_TPREL16_LO, val); in relaxTlsIeToLe() 1437 relocateNoSym(loc, R_PPC64_GOT_TPREL16_HA, val); in relaxTlsGdToIe() 1445 relocateNoSym(loc, R_PPC64_GOT_TPREL16_LO_DS, val); in relaxTlsGdToIe() 1452 relocateNoSym(loc, R_PPC64_GOT_TPREL_PCREL34, val); in relaxTlsGdToIe()
|
D | SPARCV9.cpp | 194 relocateNoSym(buf, R_SPARC_22, off); in writePlt() 195 relocateNoSym(buf + 4, R_SPARC_WDISP19, -(off + 4 - pltEntrySize)); in writePlt()
|
D | Mips.cpp | 278 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPlt - plt); in writePltHeader() 283 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPlt - plt); in writePltHeader() 334 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPltEntryAddr - pltEntryAddr); in writePlt() 340 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPltEntryAddr - pltEntryAddr); in writePlt()
|
D | RISCV.cpp | 354 relocateNoSym(loc, R_RISCV_PCREL_HI20, val); in relocate() 355 relocateNoSym(loc + 4, R_RISCV_PCREL_LO12_I, val); in relocate()
|
D | PPC.cpp | 391 relocateNoSym(loc, R_PPC_GOT_TPREL16, val); in relaxTlsGdToIe()
|
/external/llvm-project/lld/ELF/ |
D | Thunks.cpp | 442 target->relocateNoSym(buf + 8, R_AARCH64_ABS64, s); in writeTo() 466 target->relocateNoSym(buf, R_AARCH64_ADR_PREL_PG_HI21, in writeTo() 468 target->relocateNoSym(buf + 4, R_AARCH64_ADD_ABS_LO12_NC, s); in writeTo() 512 target->relocateNoSym(buf, R_ARM_JUMP24, offset); in writeTo() 550 target->relocateNoSym(buf, R_ARM_THM_JUMP24, offset); in writeTo() 567 target->relocateNoSym(buf, R_ARM_MOVW_ABS_NC, s); in writeLong() 568 target->relocateNoSym(buf + 4, R_ARM_MOVT_ABS, s); in writeLong() 585 target->relocateNoSym(buf, R_ARM_THM_MOVW_ABS_NC, s); in writeLong() 586 target->relocateNoSym(buf + 4, R_ARM_THM_MOVT_ABS, s); in writeLong() 606 target->relocateNoSym(buf, R_ARM_MOVW_PREL_NC, offset); in writeLong() [all …]
|
D | InputSection.cpp | 897 target->relocateNoSym(bufLoc, type, in relocateNonAlloc() 919 target->relocateNoSym( in relocateNonAlloc() 961 target->relocateNoSym(bufLoc, type, value); in relocateNonAlloc() 965 target->relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend))); in relocateNonAlloc()
|
D | Target.h | 87 void relocateNoSym(uint8_t *loc, RelType type, uint64_t val) const { in relocateNoSym() function
|
D | ARMErrataFix.cpp | 189 target->relocateNoSym(buf, isARM ? R_ARM_JUMP24 : R_ARM_THM_JUMP24, s - p); in writeTo()
|
D | AArch64ErrataFix.cpp | 421 target->relocateNoSym(buf + 4, R_AARCH64_JUMP26, s - p); in writeTo()
|
D | SyntheticSections.cpp | 3509 target->relocateNoSym(buf + offset, R_ARM_PREL31, s - p); in writeTo() 3517 target->relocateNoSym(buf + offset, R_ARM_PREL31, s - p); in writeTo()
|