| /freebsd-13.1/stand/efi/loader/arch/i386/ |
| H A D | ldscript.i386 | 55 .rel.dyn : { 56 *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) 57 *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) 58 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) 59 *(.rel.got) 60 *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) 61 *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) 62 *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) 63 *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) 64 *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) [all …]
|
| /freebsd-13.1/libexec/rtld-elf/i386/ |
| H A D | reloc.c | 66 const Elf_Rel *rel; in do_copy_relocations() local 71 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 131 const Elf_Rel *rel; in reloc_non_plt() local 154 for (rel = obj->rel; rel < rellim; rel++) { in reloc_non_plt() 290 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_plt() 323 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_jmpslots() 388 const Elf_Rel *rel; in reloc_iresolve() local 394 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_iresolve() 405 const Elf_Rel *rel; in reloc_iresolve_nonplt() local 411 for (rel = obj->rel; rel < rellim; rel++) { in reloc_iresolve_nonplt() [all …]
|
| /freebsd-13.1/sys/conf/ |
| H A D | ldscript.i386 | 18 .rel.init : { *(.rel.init) } 20 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 22 .rel.fini : { *(.rel.fini) } 24 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 26 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) } 28 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 30 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 32 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 38 .rel.got : { *(.rel.got) } 40 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } [all …]
|
| H A D | ldscript.amd64 | 23 .rel.init : { *(.rel.init) } 25 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 27 .rel.fini : { *(.rel.fini) } 29 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 31 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) } 33 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 35 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 37 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 43 .rel.got : { *(.rel.got) } 45 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) } [all …]
|
| H A D | ldscript.mips | 71 .rel.init : { *(.rel.init) } 73 .rel.text : 75 *(.rel.text) 85 .rel.fini : { *(.rel.fini) } 87 .rel.rodata : 99 .rel.data : 111 .rel.ctors : { *(.rel.ctors) } 113 .rel.dtors : { *(.rel.dtors) } 115 .rel.got : { *(.rel.got) } 167 *(.rel.bss) [all …]
|
| H A D | ldscript.mips.mips64 | 48 .rel.init : { *(.rel.init) } 50 .rel.text : 52 *(.rel.text) 62 .rel.fini : { *(.rel.fini) } 64 .rel.rodata : 76 .rel.data : 88 .rel.ctors : { *(.rel.ctors) } 90 .rel.dtors : { *(.rel.dtors) } 92 .rel.got : { *(.rel.got) } 144 *(.rel.bss) [all …]
|
| H A D | ldscript.mips.cfe | 64 .rel.init : { *(.rel.init) } 66 .rel.text : 68 *(.rel.text) 78 .rel.fini : { *(.rel.fini) } 80 .rel.rodata : 92 .rel.data : 104 .rel.ctors : { *(.rel.ctors) } 106 .rel.dtors : { *(.rel.dtors) } 108 .rel.got : { *(.rel.got) } 160 *(.rel.bss) [all …]
|
| H A D | ldscript.riscv | 36 .rel.text : 37 { *(.rel.text) *(.rel.gnu.linkonce.t*) } 41 { *(.rel.data) *(.rel.gnu.linkonce.d*) } 45 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } 48 .rel.got : { *(.rel.got) } 50 .rel.ctors : { *(.rel.ctors) } 52 .rel.dtors : { *(.rel.dtors) } 54 .rel.init : { *(.rel.init) } 56 .rel.fini : { *(.rel.fini) } 58 .rel.bss : { *(.rel.bss) } [all …]
|
| H A D | ldscript.arm | 35 .rel.text : 36 { *(.rel.text) *(.rel.gnu.linkonce.t*) } 40 { *(.rel.data) *(.rel.gnu.linkonce.d*) } 44 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } 47 .rel.got : { *(.rel.got) } 49 .rel.ctors : { *(.rel.ctors) } 51 .rel.dtors : { *(.rel.dtors) } 53 .rel.init : { *(.rel.init) } 55 .rel.fini : { *(.rel.fini) } 57 .rel.bss : { *(.rel.bss) } [all …]
|
| H A D | ldscript.arm64 | 35 .rel.text : 36 { *(.rel.text) *(.rel.gnu.linkonce.t*) } 40 { *(.rel.data) *(.rel.gnu.linkonce.d*) } 44 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } 47 .rel.got : { *(.rel.got) } 49 .rel.ctors : { *(.rel.ctors) } 51 .rel.dtors : { *(.rel.dtors) } 53 .rel.init : { *(.rel.init) } 55 .rel.fini : { *(.rel.fini) } 57 .rel.bss : { *(.rel.bss) } [all …]
|
| /freebsd-13.1/libexec/rtld-elf/arm/ |
| H A D | reloc.c | 74 const Elf_Rel *rel; in do_copy_relocations() local 79 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 98 ELF_R_SYM(rel->r_info)); in do_copy_relocations() 148 for (; rel < rellim; rel++) { in _rtld_relocate_nonplt_self() 358 const Elf_Rel *rel; in reloc_non_plt() local 377 for (rel = obj->rel; rel < rellim; rel++) { in reloc_non_plt() 395 const Elf_Rel *rel; in reloc_plt() local 399 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_plt() 419 const Elf_Rel *rel; in reloc_jmpslots() local 425 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_jmpslots() [all …]
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-shared-linux-n32.ld | 84 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 88 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 90 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) } 92 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 94 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 96 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 105 .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) } 107 .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) } 109 .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) } 111 .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) } [all …]
|
| H A D | cvmx-shared-linux.ld | 83 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 87 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 89 .rel.data.rel.ro : { *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*) } 91 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 93 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 95 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 104 .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) } 106 .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) } 108 .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) } 110 .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) } [all …]
|
| H A D | cvmx-shared-linux-o32.ld | 84 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 88 .rel.rodata : { *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*) } 90 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) } 92 .rel.tdata : { *(.rel.tdata .rel.tdata.* .rel.gnu.linkonce.td.*) } 94 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 100 .rel.got : { *(.rel.got) } 102 .rel.sdata : { *(.rel.sdata .rel.sdata.* .rel.gnu.linkonce.s.*) } 104 .rel.sbss : { *(.rel.sbss .rel.sbss.* .rel.gnu.linkonce.sb.*) } 106 .rel.sdata2 : { *(.rel.sdata2 .rel.sdata2.* .rel.gnu.linkonce.s2.*) } 108 .rel.sbss2 : { *(.rel.sbss2 .rel.sbss2.* .rel.gnu.linkonce.sb2.*) } [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AVR.cpp | 99 switch (rel.type) { in relocate() 101 checkUInt(loc, val, 8, rel); in relocate() 111 checkAlignment(loc, val, 2, rel); in relocate() 116 checkUInt(loc, val, 32, rel); in relocate() 121 checkUInt(loc, val, 8, rel); in relocate() 151 checkAlignment(loc, val, 2, rel); in relocate() 177 checkUInt(loc, val, 5, rel); in relocate() 181 checkUInt(loc, val, 6, rel); in relocate() 187 checkInt(loc, val, 7, rel); in relocate() 201 checkInt(loc, val, 6, rel); in relocate() [all …]
|
| H A D | AArch64.cpp | 341 switch (rel.type) { in relocate() 353 checkInt(loc, val, 32, rel); in relocate() 367 checkInt(loc, val, 33, rel); in relocate() 373 checkInt(loc, val, 21, rel); in relocate() 387 checkInt(loc, val, 28, rel); in relocate() 393 checkInt(loc, val, 21, rel); in relocate() 451 checkInt(loc, val, 17, rel); in relocate() 511 checkUInt(loc, val, 32, rel); in relaxTlsGdToLe() 513 switch (rel.type) { in relaxTlsGdToLe() 543 switch (rel.type) { in relaxTlsGdToIe() [all …]
|
| H A D | MSP430.cpp | 38 void relocate(uint8_t *loc, const Relocation &rel, 63 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() argument 64 switch (rel.type) { in relocate() 66 checkIntUInt(loc, val, 8, rel); in relocate() 73 checkIntUInt(loc, val, 16, rel); in relocate() 77 checkIntUInt(loc, val, 32, rel); in relocate() 82 checkInt(loc, offset, 10, rel); in relocate() 88 toString(rel.type)); in relocate()
|
| H A D | ARM.cpp | 455 switch (rel.type) { in relocate() 476 checkInt(loc, val, 31, rel); in relocate() 491 stateChangeWarning(loc, rel.type, *rel.sym); in relocate() 509 checkInt(loc, val, 26, rel); in relocate() 540 if (!rel.sym->isFunc() && !rel.sym->isInPlt() && isBlx == bit0Thumb) in relocate() 541 stateChangeWarning(loc, rel.type, *rel.sym); in relocate() 542 if (rel.sym->isFunc() || rel.sym->isInPlt() ? !bit0Thumb : isBlx) { in relocate() 644 if (rel.sym->isFunc()) in relocate() 676 if (rel.sym->isFunc()) in relocate() 688 if (rel.sym->isFunc()) in relocate() [all …]
|
| H A D | PPC.cpp | 315 checkIntUInt(loc, val, 16, rel); in relocate() 323 checkInt(loc, val, 16, rel); in relocate() 359 checkInt(loc, val, 16, rel); in relocate() 360 checkAlignment(loc, val, 4, rel); in relocate() 369 checkInt(loc, val, 26, rel); in relocate() 370 checkAlignment(loc, val, 4, rel); in relocate() 403 switch (rel.type) { in relaxTlsGdToIe() 422 switch (rel.type) { in relaxTlsGdToLe() 438 switch (rel.type) { in relaxTlsLdToLe() 453 relocate(loc, rel, val); in relaxTlsLdToLe() [all …]
|
| H A D | SPARCV9.cpp | 30 void relocate(uint8_t *loc, const Relocation &rel, 89 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel, in relocate() argument 91 switch (rel.type) { in relocate() 95 checkUInt(loc, val, 32, rel); in relocate() 100 checkInt(loc, val, 32, rel); in relocate() 106 checkInt(loc, val, 32, rel); in relocate() 111 checkUInt(loc, val, 22, rel); in relocate() 122 checkUInt(loc, val >> 10, 22, rel); in relocate() 127 checkInt(loc, val, 21, rel); in relocate() 146 checkUInt(loc, val >> 42, 22, rel); in relocate() [all …]
|
| /freebsd-13.1/libexec/rtld-elf/mips/ |
| H A D | reloc.c | 114 const Elf_Rel *rel; in do_copy_relocations() local 130 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 269 for (; rel < rellim; rel++) { in _rtld_relocate_nonplt_self() 346 const Elf_Rel *rel; in reloc_non_plt() local 473 for (rel = obj->rel; rel < rellim; rel++) { in reloc_non_plt() 638 (void *)rel->r_offset, in reloc_non_plt() 658 const Elf_Rel *rel; in reloc_plt() local 661 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_plt() 687 const Elf_Rel *rel; in reloc_jmpslots() local 691 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_jmpslots() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | Relocations.cpp | 103 if (rel.sym && !rel.sym->isLocal()) in reportRangeError() 1006 while (rel != end && rel->r_offset == offset) in getMipsN32RelType() 1307 const RelTy &rel = *i; in scanReloc() local 2004 if (target->inBranchRange(rel.type, src, rel.sym->getVA(rel.addend))) in normalizeExistingThunk() 2009 rel.expr = toPlt(rel.expr); in normalizeExistingThunk() 2062 if (!target->needsThunk(rel.expr, rel.type, isec->file, src, in createThunks() 2063 *rel.sym, rel.addend)) in createThunks() 2083 rel.expr = fromPlt(rel.expr); in createThunks() 2089 rel.addend = -getPCBias(rel.type); in createThunks() 2115 if (rel.sym->type == llvm::ELF::STT_TLS && rel.expr == R_PLT_PC) { in hexagonNeedsTLSSymbol() [all …]
|
| H A D | Thunks.cpp | 527 return rel.type != R_ARM_THM_JUMP19 && rel.type != R_ARM_THM_JUMP24; in isCompatibleWith() 565 return rel.type != R_ARM_JUMP24 && rel.type != R_ARM_PC24 && rel.type != R_ARM_PLT32; in isCompatibleWith() 665 return rel.type != R_ARM_THM_JUMP19 && rel.type != R_ARM_THM_JUMP24; in isCompatibleWith() 691 return rel.type != R_ARM_THM_JUMP19 && rel.type != R_ARM_THM_JUMP24; in isCompatibleWith() 924 return rel.type == R_PPC64_REL24 || rel.type == R_PPC64_REL14; in isCompatibleWith() 974 return rel.type == R_PPC64_REL24 || rel.type == R_PPC64_REL14; in isCompatibleWith() 1061 return rel.type == R_PPC64_REL24 || rel.type == R_PPC64_REL14; in isCompatibleWith() 1203 assert((rel.type == R_PPC_LOCAL24PC || rel.type == R_PPC_REL24 || in addThunkPPC32() 1237 Symbol &s = *rel.sym; in addThunk() 1238 int64_t a = rel.addend; in addThunk() [all …]
|
| H A D | Target.h | 85 virtual void relocate(uint8_t *loc, const Relocation &rel, 155 virtual void relaxGot(uint8_t *loc, const Relocation &rel, 157 virtual void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, 159 virtual void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, 161 virtual void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, 163 virtual void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, 246 reportRangeError(loc, rel, Twine(v), 0, llvm::maxUIntN(n)); in checkUInt() 251 const Relocation &rel) { in checkIntUInt() argument 255 reportRangeError(loc, rel, Twine((int64_t)v), llvm::minIntN(n), in checkIntUInt() 260 const Relocation &rel) { in checkAlignment() argument [all …]
|
| /freebsd-13.1/libexec/rtld-elf/ |
| H A D | debug.c | 82 dump_Elf_Rel(obj, obj->rel, obj->relsize); in dump_obj_relocations() 107 const Elf_Rel *rel; in dump_Elf_Rel() local 114 for (rel = rel0; rel < rellim; rel++) { in dump_Elf_Rel() 115 dstaddr = (Elf_Addr *)(obj->relocbase + rel->r_offset); in dump_Elf_Rel() 116 sym = obj->symtab + ELF_R_SYM(rel->r_info); in dump_Elf_Rel() 119 (u_long)rel->r_info, (u_long)rel->r_offset, in dump_Elf_Rel()
|