Home
last modified time | relevance | path

Searched refs:reloc (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/stand/powerpc/ofw/
H A Delf_freebsd.c44 extern vm_offset_t reloc; /* From <arch>/conf.c */
93 OF_chain((void *)reloc, end - (char *)reloc, (void *)entry, in __elfN()
H A Dppc64_elf_freebsd.c44 extern vm_offset_t reloc; /* From <arch>/conf.c */
97 OF_chain((void *)reloc, end - (char *)reloc, (void *)entry, in ppc64_ofw_elf_exec()
H A Dconf.c128 vm_offset_t reloc = RELOC; variable
/freebsd/contrib/llvm-project/lld/MachO/
H A DObjC.cpp540 const Reloc *reloc = isec->getRelocAt(offset); in tryGetSymbolAtIsecOffset() local
542 if (!reloc) in tryGetSymbolAtIsecOffset()
545 Symbol *sym = dyn_cast_if_present<Symbol *>(reloc->referent); in tryGetSymbolAtIsecOffset()
547 if (reloc->addend && sym) { in tryGetSymbolAtIsecOffset()
551 definedSym->value + reloc->addend); in tryGetSymbolAtIsecOffset()
600 const Reloc *reloc = isec->getRelocAt(offset); in tryEraseDefinedAtIsecOffset() local
602 if (!reloc) in tryEraseDefinedAtIsecOffset()
605 Defined *sym = dyn_cast_or_null<Defined>(cast<Symbol *>(reloc->referent)); in tryEraseDefinedAtIsecOffset()
612 uint32_t totalOffset = sym->value + reloc->addend; in tryEraseDefinedAtIsecOffset()
673 const Reloc *reloc = isec->getRelocAt(secOffset); in parseProtocolListInfo() local
[all …]
H A DBPSectionOrderer.cpp87 getRelocHash(const macho::Reloc &reloc, in getRelocHash()
89 auto *isec = reloc.getReferentInputSection(); in getRelocHash()
97 if (auto *sym = reloc.referent.dyn_cast<Symbol *>()) { in getRelocHash()
103 reloc.addend); in getRelocHash()
/freebsd/stand/efi/loader/arch/i386/
H A Di386.ldscript48 .reloc : { *(.reloc) }
H A Dstart.S72 .section .reloc, "a"
/freebsd/stand/efi/loader/arch/arm/
H A Darm.ldscript47 .reloc : { *(.reloc) }
/freebsd/stand/kboot/kboot/arch/aarch64/
H A Daarch64.ldscript55 .reloc : { *(.reloc) }
/freebsd/stand/kboot/kboot/arch/amd64/
H A Damd64.ldscript55 .reloc : { *(.reloc) }
/freebsd/stand/efi/loader/arch/amd64/
H A Damd64.ldscript55 .reloc : { *(.reloc) }
H A Dstart.S72 .section .reloc, "a"
/freebsd/contrib/file/magic/Magdir/
H A Dxo6526 >6 leshort&0x4000 =0x4000 page reloc,
27 >6 leshort&0x4000 =0x0000 byte reloc,
/freebsd/stand/efi/loader/arch/arm64/
H A Darm64.ldscript67 .reloc : { *(.reloc) }
/freebsd/stand/efi/loader/arch/riscv/
H A Driscv.ldscript67 .reloc : { *(.reloc) }
/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_coff.c235 int i, reloc; in libpe_write_coff_header() local
237 reloc = 0; in libpe_write_coff_header()
321 reloc = 1; in libpe_write_coff_header()
328 if (!reloc) in libpe_write_coff_header()
509 if (reloc) { in libpe_write_coff_header()
/freebsd/contrib/llvm-project/lld/ELF/
H A DThunks.cpp1631 static std::unique_ptr<Thunk> addThunkArmv4(Ctx &ctx, RelType reloc, Symbol &s, in addThunkArmv4() argument
1635 switch (reloc) { in addThunkArmv4()
1658 Fatal(ctx) << "relocation " << reloc << " to " << &s in addThunkArmv4()
1668 static std::unique_ptr<Thunk> addThunkArmv5v6(Ctx &ctx, RelType reloc, in addThunkArmv5v6() argument
1670 switch (reloc) { in addThunkArmv5v6()
1680 Fatal(ctx) << "relocation " << reloc << " to " << &s in addThunkArmv5v6()
1691 RelType reloc, Symbol &s, int64_t a) { in addThunkV6M() argument
1693 switch (reloc) { in addThunkV6M()
1702 << "relocation " << reloc << " to " << &s in addThunkV6M()
1711 Fatal(ctx) << "relocation " << reloc << " to " << &s in addThunkV6M()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp126 bool IsRela() { return (llvm::isa<ELFRela *>(reloc)); } in IsRela()
131 RelocUnion reloc; member in __anone59002980111::ELFRelocation
137 reloc = new ELFRel(); in ELFRelocation()
139 reloc = new ELFRela(); in ELFRelocation()
142 reloc = static_cast<ELFRel *>(nullptr); in ELFRelocation()
147 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(reloc)) in ~ELFRelocation()
150 delete llvm::cast<ELFRela *>(reloc); in ~ELFRelocation()
155 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(reloc)) in Parse()
158 return llvm::cast<ELFRela *>(reloc)->Parse(data, offset); in Parse()
162 if (auto *elfrel = llvm::dyn_cast<ELFRel *>(rel.reloc)) in RelocType32()
[all …]
/freebsd/lib/csu/riscv/
H A Dcrti.S37 # (see reloc.c)
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DObjdumpOpts.td95 def dynamic_reloc : Flag<["--"], "dynamic-reloc">,
98 HelpText<"Alias for --dynamic-reloc">;
155 def reloc : Flag<["--"], "reloc">,
157 def : Flag<["-"], "r">, Alias<reloc>, HelpText<"Alias for --reloc">;
/freebsd/lib/libkldelf/
H A Dkldelf.h84 elf_reloc_t *reloc; member
92 .reloc = (_reloc) \
/freebsd/include/arm/
H A DMakefile32 reloc.h \
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DM68k.def5 ELF_RELOC(R_68K_NONE, 0) /* No reloc */
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64.cpp202 auto &reloc = thunk->relocs[0]; in getThunkBranchTarget() local
203 assert(isa<Symbol *>(reloc.referent) && in getThunkBranchTarget()
206 return cast<Symbol *>(reloc.referent); in getThunkBranchTarget()
/freebsd/libexec/rtld-elf/
H A DMakefile33 reloc.c \

123