| /openbsd-src/libexec/ld.so/i386/ |
| H A D | rtld_machine.c | 180 Elf_Rel *rels; in _dl_md_reloc() 183 numrel = object->Dyn.info[relsz] / sizeof(Elf_Rel); in _dl_md_reloc() 185 rels = (Elf_Rel *)(object->Dyn.info[rel]); in _dl_md_reloc() 316 Elf_Rel *rel; in _dl_bind() 326 rel = (Elf_Rel *)(object->Dyn.info[DT_JMPREL]); in _dl_bind() 328 rel += index/sizeof(Elf_Rel); in _dl_bind() 368 Elf_Rel *rel; in _dl_md_reloc_got() 382 rel = (Elf_Rel *)(object->Dyn.info[DT_JMPREL]); in _dl_md_reloc_got() 384 for (i = 0; i < num/sizeof(Elf_Rel); i++, rel++) { in _dl_md_reloc_got()
|
| H A D | archdep.h | 39 RELOC_DYN(const Elf_Rel *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v) in RELOC_DYN()
|
| /openbsd-src/libexec/ld.so/arm/ |
| H A D | rtld_machine.c | 157 void _dl_reloc_plt(Elf_Word *where, Elf_Addr value, Elf_Rel *rel); 169 Elf_Rel *rels; in _dl_md_reloc() 172 numrel = object->Dyn.info[relsz] / sizeof(Elf_Rel); in _dl_md_reloc() 174 rels = (Elf_Rel *)(object->Dyn.info[rel]); in _dl_md_reloc() 301 Elf_Rel *rel; in _dl_md_reloc_got() 309 rel = (Elf_Rel *)(object->Dyn.info[DT_JMPREL]); in _dl_md_reloc_got() 312 for (i = 0; i < num/sizeof(Elf_Rel); i++, rel++) { in _dl_md_reloc_got() 328 Elf_Rel *rel; in _dl_bind() 338 rel = ((Elf_Rel *)object->Dyn.info[DT_JMPREL]) + (relidx); in _dl_bind()
|
| H A D | archdep.h | 39 RELOC_DYN(Elf_Rel *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v) in RELOC_DYN()
|
| /openbsd-src/libexec/ld.so/mips64/ |
| H A D | rtld_machine.c | 68 Elf_Rel *relocs; in _dl_md_reloc() 74 numrel = object->Dyn.info[relsz] / sizeof(Elf_Rel); in _dl_md_reloc() 75 relocs = (Elf_Rel *)(object->Dyn.info[rel]); in _dl_md_reloc()
|
| H A D | boot_md.c | 46 typedef Elf_Rel RELOC_TYPE;
|
| /openbsd-src/usr.bin/ctfconv/ |
| H A D | elf.c | 268 Elf_Rel *rel = NULL; in elf_reloc_apply() 326 rel = (Elf_Rel *)(p + sh->sh_offset); in elf_reloc_apply() 327 for (j = 0; j < (sh->sh_size / sizeof(Elf_Rel)); j++) { in elf_reloc_apply()
|
| /openbsd-src/usr.sbin/crunchgen/ |
| H A D | elf_hide.c | 401 Elf_Rel *prel; in renum_reloc_syms() 431 prel = (Elf_Rel *) (pexe + pshdr->sh_offset); in renum_reloc_syms() 432 num_reloc = pshdr->sh_size / sizeof(Elf_Rel); in renum_reloc_syms()
|
| /openbsd-src/libexec/ld.so/ |
| H A D | boot.c | 48 typedef Elf_Rel RELOC_TYPE;
|
| H A D | resolve.h | 128 Elf_Rel *rel;
|
| /openbsd-src/lib/csu/ |
| H A D | boot.h | 58 typedef Elf_Rel RELOC_TYPE;
|
| /openbsd-src/lib/csu/mips64/ |
| H A D | boot_md.h | 60 typedef Elf_Rel RELOC_TYPE;
|
| /openbsd-src/sys/sys/ |
| H A D | exec_elf.h | 762 #define Elf_Rel Elf32_Rel 790 #define Elf_Rel Elf64_Rel 764 #define Elf_Rel global() macro 792 #define Elf_Rel global() macro
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | ELF.cpp | 353 Elf_Rel Rel; in decode_relrs() 356 std::vector<Elf_Rel> Relocs; in decode_relrs()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | ELF.h | 233 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel &Rel, 271 return getSectionContentsAsArray<Elf_Rel>(Sec); in rels() 278 std::vector<Elf_Rel> decode_relrs(Elf_Relr_Range relrs) const; 628 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel &Rel, in getRelocationSymbol()
|
| H A D | ELFObjectFile.h | 412 const Elf_Rel *getRel(DataRefImpl Rel) const; 1073 const typename ELFObjectFile<ELFT>::Elf_Rel * 1076 auto Ret = EF.template getEntry<Elf_Rel>(Rel.d.a, Rel.d.b); in getRel()
|
| H A D | ELFTypes.h | 118 using Elf_Rel = typename ELFT::Rel; \
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | ARMEHABIPrinter.h | 326 typedef typename ET::Rel Elf_Rel; typedef 415 for (const Elf_Rel &R : unwrapOrError(FileName, ELF.rels(Sec))) { in FindExceptionTable()
|
| H A D | ELFDumper.cpp | 2037 DynPLTRelRegion.EntSize = sizeof(Elf_Rel); in parseDynamicTable() 4559 for (const Elf_Rel &Rel : in printDynamicRelocationsHelper() 4560 this->DynRelRegion.template getAsArrayRef<Elf_Rel>()) in printDynamicRelocationsHelper() 4568 for (const Elf_Rel &Rel : Obj.decode_relrs(Relrs)) in printDynamicRelocationsHelper() 4580 for (const Elf_Rel &Rel : in printDynamicRelocationsHelper() 4581 this->DynPLTRelRegion.template getAsArrayRef<Elf_Rel>()) in printDynamicRelocationsHelper() 5917 for (const Elf_Rel &R : *RangeOrErr) in forEachRelocationDo() 5944 for (const Elf_Rel &R : Obj.decode_relrs(*RangeOrErr)) in forEachRelocationDo()
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | SyntheticSections.h | 565 using Elf_Rel = typename ELFT::Rel; variable 575 using Elf_Rel = typename ELFT::Rel; variable
|
| H A D | SyntheticSections.cpp | 1381 isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel)); in computeContents() 1682 this->entsize = config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in RelocationSection() 1693 buf += config->isRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); in writeTo() 1798 llvm::sort(relatives, [](const Elf_Rel &a, const Elf_Rel &b) { in updateAllocSize()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.h | 132 using Elf_Rel = typename ELFT::Rel; variable 151 using Elf_Rel = typename ELFT::Rel;
|
| H A D | ELFObject.cpp | 111 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit() 955 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf), in visit()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 1293 Elf_Rel REntry; in writeSectionContent() 1301 SHeader.sh_size = (IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel)) * in writeSectionContent()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | elf2yaml.cpp | 1113 for (const Elf_Rel &Rel : *Rels) { in dumpRelocSection()
|