Home
last modified time | relevance | path

Searched refs:relocateOne (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DThunks.cpp327 Target->relocateOne(Buf + 8, R_AARCH64_ABS64, S); in writeTo()
397 Target->relocateOne(Buf, R_ARM_JUMP24, Offset); in writeTo()
450 Target->relocateOne(Buf, R_ARM_MOVW_ABS_NC, S); in writeLong()
451 Target->relocateOne(Buf + 4, R_ARM_MOVT_ABS, S); in writeLong()
580 Target->relocateOne(Buf + 8, R_ARM_ABS32, S); in writeLong()
623 Target->relocateOne(Buf, R_MIPS_HI16, S); in writeTo()
624 Target->relocateOne(Buf + 8, R_MIPS_LO16, S); in writeTo()
645 Target->relocateOne(Buf, R_MICROMIPS_HI16, S); in writeTo()
647 Target->relocateOne(Buf + 8, R_MICROMIPS_LO16, S); in writeTo()
669 Target->relocateOne(Buf, R_MICROMIPS_HI16, S); in writeTo()
[all …]
H A DInputSection.cpp821 Target->relocateOne(BufLoc, Type, in relocateNonAlloc()
827 Target->relocateOne(BufLoc, Type, 0); in relocateNonAlloc()
829 Target->relocateOne(BufLoc, Type, SignExtend64<Bits>(Sym.getVA(Addend))); in relocateNonAlloc()
846 Target->relocateOne(BufLoc, Rel.Type, TargetVA); in relocateNonAllocForRelocatable()
924 Target->relocateOne(BufLoc, Type, TargetVA); in relocateAlloc()
927 Target->relocateOne(BufLoc, Type, TargetVA); in relocateAlloc()
H A DTarget.h80 virtual void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const = 0;
H A DAArch64ErrataFix.cpp424 Target->relocateOne(Buf + 4, R_AARCH64_JUMP26, S - P); in writeTo()
H A DSyntheticSections.cpp3057 Target->relocateOne(Buf, R_ARM_PREL31, S - P); in writeTo()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/
H A DAArch64.cpp47 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
175 relocateOne(Buf + 4, R_AARCH64_ADR_PREL_PG_HI21, in writePltHeader()
177 relocateOne(Buf + 8, R_AARCH64_LDST64_ABS_LO12_NC, Got + 16); in writePltHeader()
178 relocateOne(Buf + 12, R_AARCH64_ADD_ABS_LO12_NC, Got + 16); in writePltHeader()
192 relocateOne(Buf, R_AARCH64_ADR_PREL_PG_HI21, in writePlt()
194 relocateOne(Buf + 4, R_AARCH64_LDST64_ABS_LO12_NC, GotPltEntryAddr); in writePlt()
195 relocateOne(Buf + 8, R_AARCH64_ADD_ABS_LO12_NC, GotPltEntryAddr); in writePlt()
251 void AArch64::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in AArch64
408 relocateOne(Loc, R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, Val); in relaxTlsGdToIe()
412 relocateOne(Loc, R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, Val); in relaxTlsGdToIe()
H A DHexagon.cpp33 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
182 void Hexagon::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in Hexagon
270 relocateOne(Buf, R_HEX_B32_PCREL_X, Off); in writePltHeader()
271 relocateOne(Buf + 4, R_HEX_6_PCREL_X, Off); in writePltHeader()
285 relocateOne(Buf, R_HEX_B32_PCREL_X, GotPltEntryAddr - PltEntryAddr); in writePlt()
286 relocateOne(Buf + 4, R_HEX_6_PCREL_X, GotPltEntryAddr - PltEntryAddr); in writePlt()
H A DSPARCV9.cpp31 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
76 void SPARCV9::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in SPARCV9
142 relocateOne(Buf, R_SPARC_22, Off); in writePlt()
143 relocateOne(Buf + 4, R_SPARC_WDISP19, -(Off + 4 - PltEntrySize)); in writePlt()
H A DPPC64.cpp112 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
279 relocateOne(Loc, R_PPC64_TPREL16_HA, Val); in relaxTlsGdToLe()
287 relocateOne(Loc + 4 + (Config->EKind == ELF64BEKind ? 2 : 0), in relaxTlsGdToLe()
332 relocateOne(Loc, Type, Val); in relaxTlsLdToLe()
394 relocateOne(Loc, R_PPC64_TPREL16_HA, Val); in relaxTlsIeToLe()
404 relocateOne(Loc + Offset, R_PPC64_TPREL16_LO, Val); in relaxTlsIeToLe()
614 void PPC64::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in PPC64
814 relocateOne(Loc, R_PPC64_GOT_TPREL16_HA, Val); in relaxTlsGdToIe()
821 relocateOne(Loc, R_PPC64_GOT_TPREL16_LO_DS, Val); in relaxTlsGdToIe()
H A DAVR.cpp49 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
60 void AVR::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in AVR
H A DPPC.cpp25 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
51 void PPC::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in PPC
H A DMSP430.cpp39 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
63 void MSP430::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in MSP430
H A DRISCV.cpp28 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
90 void RISCV::relocateOne(uint8_t *Loc, const RelType Type, in relocateOne() function in RISCV
180 relocateOne(Loc, R_RISCV_PCREL_HI20, Val); in relocateOne()
181 relocateOne(Loc + 4, R_RISCV_PCREL_LO12_I, Val); in relocateOne()
H A DAMDGPU.cpp29 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
60 void AMDGPU::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in AMDGPU
H A DMips.cpp42 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
261 relocateOne(Buf, R_MICROMIPS_PC19_S2, GotPlt - Plt); in writePltHeader()
266 relocateOne(Buf, R_MICROMIPS_PC23_S2, GotPlt - Plt); in writePltHeader()
318 relocateOne(Buf, R_MICROMIPS_PC19_S2, GotPltEntryAddr - PltEntryAddr); in writePlt()
324 relocateOne(Buf, R_MICROMIPS_PC23_S2, GotPltEntryAddr - PltEntryAddr); in writePlt()
463 void MIPS<ELFT>::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in MIPS
H A DX86.cpp37 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
265 void X86::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in X86
H A DARM.cpp45 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
379 void ARM::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in ARM
H A DX86_64.cpp37 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
318 void X86_64<ELFT>::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() function in X86_64