Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp30 typedef ElfW(Dyn) Elf_Dyn; typedef
33 #define ElfW64_Dyn Elf_Dyn
36 #define ElfW32_Dyn Elf_Dyn
217 const Elf_Dyn *dynamic = nullptr; in find_cfi_check_in_dso()
221 (const Elf_Dyn *)(info->dlpi_addr + info->dlpi_phdr[i].p_vaddr); in find_cfi_check_in_dso()
227 for (const Elf_Dyn *p = dynamic; p->d_tag != PT_NULL; ++p) { in find_cfi_check_in_dso()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp129 using Elf_Dyn = typename ELFT::Dyn; typedef in llvm::ifs::__anon3dc69c9e0111::ELFDynamicTableBuilder
132 Elf_Dyn Entry; in addAddr()
144 Elf_Dyn Entry; in addValue()
157 return (Entries.size() + 1) * sizeof(Elf_Dyn); in getSize()
161 memcpy(Buf, Entries.data(), sizeof(Elf_Dyn) * Entries.size()); in write()
163 memset(Buf + sizeof(Elf_Dyn) * Entries.size(), 0, sizeof(Elf_Dyn)); in write()
167 llvm::SmallVector<Elf_Dyn, 8> Entries;
177 using Elf_Dyn = typename ELFT::Dyn; typedef in llvm::ifs::__anon3dc69c9e0111::ELFStubBuilder
327 DynTab.Shdr.sh_entsize = sizeof(Elf_Dyn); in fillDynTabShdr()
/freebsd/sys/powerpc/powerpc/
H A Delf32_machdep.c178 void elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase);
339 elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase) in elf_reloc_self()
416 elf_cpu_parse_dynamic(caddr_t loadbase, Elf_Dyn *dynamic) in elf_cpu_parse_dynamic()
418 Elf_Dyn *dp; in elf_cpu_parse_dynamic()
H A Delf64_machdep.c201 void elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase);
391 elf_reloc_self(Elf_Dyn *dynp, Elf_Addr relocbase) in elf_reloc_self()
456 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp608 ArrayRef<Elf_Dyn> Dyn; in dynamicEntries()
620 Dyn = ArrayRef(reinterpret_cast<const Elf_Dyn *>(DynOffset), in dynamicEntries()
621 Phdr.p_filesz / sizeof(Elf_Dyn)); in dynamicEntries()
635 Expected<ArrayRef<Elf_Dyn>> DynOrError = in dynamicEntries()
636 getSectionContentsAsArray<Elf_Dyn>(Sec); in dynamicEntries()
645 return ArrayRef<Elf_Dyn>(); in dynamicEntries()
/freebsd/libexec/rtld-elf/riscv/
H A Drtld_machdep.h54 (const Elf_Dyn *)_dynamic_addr; \
/freebsd/libexec/rtld-elf/
H A Drtld.c90 static void digest_dynamic1(Obj_Entry *, int, const Elf_Dyn **,
91 const Elf_Dyn **, const Elf_Dyn **);
92 static bool digest_dynamic2(Obj_Entry *, const Elf_Dyn *, const Elf_Dyn *,
93 const Elf_Dyn *);
241 extern Elf_Dyn _DYNAMIC;
1243 digest_dynamic1(Obj_Entry *obj, int early, const Elf_Dyn **dyn_rpath, in digest_dynamic1()
1244 const Elf_Dyn **dyn_soname, const Elf_Dyn **dyn_runpath) in digest_dynamic1()
1246 const Elf_Dyn *dynp; in digest_dynamic1()
1492 (__DECONST(Elf_Dyn *, dynp))->d_un.d_ptr = (Elf_Addr)&r_debug; in digest_dynamic1()
1582 digest_dynamic2(Obj_Entry *obj, const Elf_Dyn *dyn_rpath, in digest_dynamic2()
[all …]
H A Drtld.h152 const Elf_Dyn *dynamic; /* Dynamic section */
H A Dmap_object.c298 obj->dynamic = (const Elf_Dyn *)(obj->relocbase + phdyn->p_vaddr); in map_object()
/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c84 void _rtld_relocate_nonplt_self(Elf_Dyn *, Elf_Addr);
87 _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase) in _rtld_relocate_nonplt_self()
/freebsd/sys/kern/
H A Dlink_elf.c84 Elf_Dyn *dynamic; /* Symbol table etc. */
450 Elf_Dyn *dp; in link_elf_init()
459 dp = (Elf_Dyn *)&_DYNAMIC; in link_elf_init()
589 Elf_Dyn *dp; in parse_dynamic()
921 ef->dynamic = (Elf_Dyn *)dp; in link_elf_link_preload()
1205 ef->dynamic = (Elf_Dyn *) (mapbase + phdyn->p_vaddr - base_vaddr); in link_elf_load_file()
2030 ef->dynamic = (Elf_Dyn *)&_DYNAMIC; in link_elf_ireloc()
/freebsd/libexec/rtld-elf/powerpc64/
H A Dreloc.c56 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic()
135 reloc_non_plt_self(Elf_Dyn *dynp, Elf_Addr relocbase) in reloc_non_plt_self()
/freebsd/sys/i386/i386/
H A Delf_machdep.c303 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/sys/arm/arm/
H A Delf_machdep.c314 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c61 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic()
140 reloc_non_plt_self(Elf_Dyn *dynp, Elf_Addr relocbase) in reloc_non_plt_self()
/freebsd/sys/sys/
H A Dlinker.h342 int elf_cpu_parse_dynamic(caddr_t, Elf_Dyn *);
/freebsd/sys/arm64/arm64/
H A Delf_machdep.c314 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/sys/amd64/amd64/
H A Delf_machdep.c438 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/sys/riscv/riscv/
H A Delf_machdep.c545 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp1455 using Elf_Dyn = typename ELFT::Dyn; in parse() typedef
1461 ArrayRef<Elf_Dyn> dynamicTags; in parse()
1476 CHECK(obj.template getSectionContentsAsArray<Elf_Dyn>(sec), this); in parse()
1496 for (const Elf_Dyn &dyn : dynamicTags) { in parse()
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c57 arch_digest_dynamic(struct Struct_Obj_Entry *obj, const Elf_Dyn *dynp) in arch_digest_dynamic()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h388 DataRefImpl toDRI(const Elf_Dyn *Dyn) const { in toDRI()
977 Elf_Dyn *Dynamic = in dynamic_relocation_sections()
978 reinterpret_cast<Elf_Dyn *>((uintptr_t)base() + Sec.sh_offset); in dynamic_relocation_sections()
H A DELFTypes.h118 using Elf_Dyn = typename ELFT::Dyn; \
/freebsd/stand/common/
H A Dload_elf.c545 Elf_Dyn *dp;
863 ndp = php->p_filesz / sizeof(Elf_Dyn);
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp257 Elf_Dyn_Range Table = DynamicTable.template getAsArrayRef<Elf_Dyn>(); in dynamic_table()
800 void printAuxillaryDynamicTableEntryInfo(const Elf_Dyn &Entry);
1839 sizeof(Elf_Dyn))); in loadDynamicTable()
1842 IsPhdrTableValid = !FromPhdr.template getAsArrayRef<Elf_Dyn>().empty(); in loadDynamicTable()
1853 createDRI(DynamicSec->sh_offset, DynamicSec->sh_size, sizeof(Elf_Dyn)); in loadDynamicTable()
1858 IsSecTableValid = !FromSec.template getAsArrayRef<Elf_Dyn>().empty(); in loadDynamicTable()
2012 for (const Elf_Dyn &Dyn : dynamic_table()) { in parseDynamicTable()
7449 const Elf_Dyn &Entry) { in printAuxillaryDynamicTableEntryInfo()

12