Home
last modified time | relevance | path

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

/openbsd-src/libexec/ld.so/i386/
H A Drtld_machine.c180 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 Darchdep.h39 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 Drtld_machine.c157 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 Darchdep.h39 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 Drtld_machine.c68 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 Dboot_md.c46 typedef Elf_Rel RELOC_TYPE;
/openbsd-src/usr.bin/ctfconv/
H A Delf.c268 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 Delf_hide.c401 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 Dboot.c48 typedef Elf_Rel RELOC_TYPE;
H A Dresolve.h128 Elf_Rel *rel;
/openbsd-src/lib/csu/
H A Dboot.h58 typedef Elf_Rel RELOC_TYPE;
/openbsd-src/lib/csu/mips64/
H A Dboot_md.h60 typedef Elf_Rel RELOC_TYPE;
/openbsd-src/sys/sys/
H A Dexec_elf.h762 #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 DELF.cpp353 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 DELF.h233 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 DELFObjectFile.h412 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 DELFTypes.h118 using Elf_Rel = typename ELFT::Rel; \
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h326 typedef typename ET::Rel Elf_Rel; typedef
415 for (const Elf_Rel &R : unwrapOrError(FileName, ELF.rels(Sec))) { in FindExceptionTable()
H A DELFDumper.cpp2037 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 DSyntheticSections.h565 using Elf_Rel = typename ELFT::Rel; variable
575 using Elf_Rel = typename ELFT::Rel; variable
H A DSyntheticSections.cpp1381 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 DELFObject.h132 using Elf_Rel = typename ELFT::Rel; variable
151 using Elf_Rel = typename ELFT::Rel;
H A DELFObject.cpp111 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 DELFEmitter.cpp1293 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 Delf2yaml.cpp1113 for (const Elf_Rel &Rel : *Rels) { in dumpRelocSection()