/freebsd-13-stable/libexec/rtld-elf/mips/ |
H A D | Makefile.inc | 3 CFLAGS.reloc.c+=-fno-jump-tables
|
/freebsd-13-stable/include/ |
H A D | a.out.h | 42 #include <machine/reloc.h>
|
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | ArchHandler.cpp | 61 ArchHandler::RelocPattern ArchHandler::relocPattern(const Relocation &reloc) { argument 62 assert((reloc.type & 0xFFF0) == 0); 63 uint16_t result = reloc.type; 64 if (reloc.scattered) 66 if (reloc.pcRel) 68 if (reloc.isExtern) 70 switch(reloc.length) { 118 normalized::Relocation reloc = relocFromPattern(pattern); local 119 reloc.offset = offset; 120 reloc [all...] |
H A D | ArchHandler_x86.cpp | 88 llvm::Error getReferenceInfo(const normalized::Relocation &reloc, 243 bool ArchHandler_x86::isPairedReloc(const Relocation &reloc) { argument 244 if (!reloc.scattered) 246 return (reloc.type == GENERIC_RELOC_LOCAL_SECTDIFF) || 247 (reloc.type == GENERIC_RELOC_SECTDIFF); 251 ArchHandler_x86::getReferenceInfo(const Relocation &reloc, argument 263 switch (relocPattern(reloc)) { 267 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 276 return atomFromAddress(reloc.symbol, targetAddress, target, addend); 283 if (auto ec = atomFromAddress(0, reloc [all...] |
H A D | ArchHandler_x86_64.cpp | 145 llvm::Error getReferenceInfo(const normalized::Relocation &reloc, 248 Reference::KindValue kindFromReloc(const normalized::Relocation &reloc); 355 bool ArchHandler_x86_64::isPairedReloc(const Relocation &reloc) { argument 356 return (reloc.type == X86_64_RELOC_SUBTRACTOR); 360 ArchHandler_x86_64::kindFromReloc(const Relocation &reloc) { argument 361 switch(relocPattern(reloc)) { 396 ArchHandler_x86_64::getReferenceInfo(const Relocation &reloc, argument 405 *kind = kindFromReloc(reloc); 413 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 418 if (auto ec = atomFromSymbolIndex(reloc [all...] |
H A D | ArchHandler_arm64.cpp | 137 llvm::Error getReferenceInfo(const normalized::Relocation &reloc, 346 "reloc not on ADRP instruction"); 378 const Relocation &reloc, const DefinedAtom *inAtom, uint32_t offsetInAtom, 384 switch (relocPattern(reloc)) { 388 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 395 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 402 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 409 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 416 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 423 if (auto ec = atomFromSymbolIndex(reloc 377 getReferenceInfo( const Relocation &reloc, const DefinedAtom *inAtom, uint32_t offsetInAtom, uint64_t fixupAddress, bool isBig, FindAtomBySectionAndAddress atomFromAddress, FindAtomBySymbolIndex atomFromSymbolIndex, Reference::KindValue *kind, const lld::Atom **target, Reference::Addend *addend) argument [all...] |
H A D | MachONormalizedFileToAtoms.cpp | 604 const Relocation &reloc = *it; local 606 if (reloc.offset > section.content.size()) 608 Twine("r_address (") + Twine(reloc.offset) 613 reloc.offset, 616 uint64_t fixupAddress = section.address + reloc.offset; 621 if (handler.isPairedReloc(reloc)) { 625 reloc, reloc2, inAtom, offsetInAtom, fixupAddress, isBig, scatterable, 634 + " (r1_address=" + Twine::utohexstr(reloc.offset) 635 + ", r1_type=" + Twine(reloc.type) 636 + ", r1_extern=" + Twine(reloc [all...] |
H A D | MachONormalizedFileYAML.cpp | 351 static void mapping(IO &io, Relocation &reloc) { argument 352 io.mapRequired("offset", reloc.offset); 353 io.mapOptional("scattered", reloc.scattered, false); 354 io.mapRequired("type", reloc.type); 355 io.mapRequired("length", reloc.length); 356 io.mapRequired("pc-rel", reloc.pcRel); 357 if ( !reloc.scattered ) 358 io.mapRequired("extern", reloc.isExtern); 359 if ( reloc.scattered ) 360 io.mapRequired("value", reloc [all...] |
H A D | ArchHandler_arm.cpp | 82 llvm::Error getReferenceInfo(const normalized::Relocation &reloc, 326 bool ArchHandler_arm::isPairedReloc(const Relocation &reloc) { argument 327 switch (reloc.type) { 447 llvm_unreachable("thumb branch22 reloc on a non-branch instruction"); 525 const Relocation &reloc, const DefinedAtom *inAtom, uint32_t offsetInAtom, 534 switch (relocPattern(reloc)) { 541 if (auto ec = atomFromSymbolIndex(reloc.symbol, target)) 555 return atomFromAddress(reloc.symbol, targetAddress, target, addend); 564 if (auto ec = atomFromAddress(0, reloc.value, target, addend)) 566 // reloc 524 getReferenceInfo( const Relocation &reloc, const DefinedAtom *inAtom, uint32_t offsetInAtom, uint64_t fixupAddress, bool isBig, FindAtomBySectionAndAddress atomFromAddress, FindAtomBySymbolIndex atomFromSymbolIndex, Reference::KindValue *kind, const lld::Atom **target, Reference::Addend *addend) argument [all...] |
H A D | ArchHandler.h | 137 getReferenceInfo(const normalized::Relocation &reloc, 304 static RelocPattern relocPattern(const normalized::Relocation &reloc);
|
/freebsd-13-stable/stand/powerpc/ofw/ |
H A D | elf_freebsd.c | 46 extern vm_offset_t reloc; /* From <arch>/conf.c */ 95 OF_chain((void *)reloc, end - (char *)reloc, (void *)entry,
|
H A D | ppc64_elf_freebsd.c | 46 extern vm_offset_t reloc; /* From <arch>/conf.c */ 99 OF_chain((void *)reloc, end - (char *)reloc, (void *)entry,
|
H A D | conf.c | 126 * reloc - our load address 128 vm_offset_t reloc = RELOC; variable
|
/freebsd-13-stable/stand/efi/loader/arch/amd64/ |
H A D | start.S | 68 * hand-craft a dummy .reloc section so EFI knows it's a relocatable 73 .section .reloc, "a"
|
/freebsd-13-stable/stand/efi/loader/arch/i386/ |
H A D | start.S | 65 .section .reloc, "a"
|
/freebsd-13-stable/lib/csu/riscv/ |
H A D | crti.S | 39 # (see reloc.c)
|
/freebsd-13-stable/stand/powerpc/uboot/ |
H A D | ppc64_elf_freebsd.c | 46 extern vm_offset_t reloc; /* From <arch>/conf.c */
|
/freebsd-13-stable/libexec/rtld-elf/ |
H A D | Makefile | 22 reloc.c \
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ObjectFileELF.cpp | 124 RelocUnion reloc; member in class:__anon2862::ELFRelocation 129 reloc = new ELFRel(); 131 reloc = new ELFRela(); 134 reloc = static_cast<ELFRel *>(nullptr); 139 if (reloc.is<ELFRel *>()) 140 delete reloc.get<ELFRel *>(); 142 delete reloc.get<ELFRela *>(); 147 if (reloc.is<ELFRel *>()) 148 return reloc.get<ELFRel *>()->Parse(data, offset); 150 return reloc [all...] |
/freebsd-13-stable/contrib/elftoolchain/libpe/ |
H A D | libpe_coff.c | 235 int i, reloc; local 237 reloc = 0; 319 strncmp(sh->sh_name, ".reloc", strlen(".reloc")) == 321 reloc = 1; 328 if (!reloc) 509 if (reloc) {
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | Thunks.cpp | 883 static Thunk *addThunkPreArmv7(RelType reloc, Symbol &s) { argument 884 switch (reloc) { 894 fatal("relocation " + toString(reloc) + " to " + toString(s) + 903 static Thunk *addThunkV6M(RelType reloc, Symbol &s) { argument 904 switch (reloc) { 912 fatal("relocation " + toString(reloc) + " to " + toString(s) + 917 static Thunk *addThunkArm(RelType reloc, Symbol &s) { argument 936 return addThunkPreArmv7(reloc, s); 937 return addThunkV6M(reloc, s); 940 switch (reloc) { [all...] |
/freebsd-13-stable/stand/common/ |
H A D | reloc_elf.c | 52 __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata, function
|
H A D | bootstrap.h | 280 int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr,
|
/freebsd-13-stable/stand/efi/boot1/ |
H A D | Makefile | 97 -j .rela.dyn -j .reloc -j .eh_frame \
|
/freebsd-13-stable/stand/efi/loader/ |
H A D | Makefile | 113 -j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set \
|