/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 30 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 D | ELFObjHandler.cpp | 129 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 D | elf32_machdep.c | 178 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 D | elf64_machdep.c | 201 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 D | ELF.cpp | 608 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 D | rtld_machdep.h | 54 (const Elf_Dyn *)_dynamic_addr; \
|
/freebsd/libexec/rtld-elf/ |
H A D | rtld.c | 90 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 D | rtld.h | 152 const Elf_Dyn *dynamic; /* Dynamic section */
|
H A D | map_object.c | 298 obj->dynamic = (const Elf_Dyn *)(obj->relocbase + phdyn->p_vaddr); in map_object()
|
/freebsd/libexec/rtld-elf/arm/ |
H A D | reloc.c | 84 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 D | link_elf.c | 84 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 D | reloc.c | 56 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 D | elf_machdep.c | 303 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
|
/freebsd/sys/arm/arm/ |
H A D | elf_machdep.c | 314 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
|
/freebsd/libexec/rtld-elf/powerpc/ |
H A D | reloc.c | 61 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 D | linker.h | 342 int elf_cpu_parse_dynamic(caddr_t, Elf_Dyn *);
|
/freebsd/sys/arm64/arm64/ |
H A D | elf_machdep.c | 314 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
|
/freebsd/sys/amd64/amd64/ |
H A D | elf_machdep.c | 438 elf_cpu_parse_dynamic(caddr_t loadbase __unused, Elf_Dyn *dynamic __unused) in elf_cpu_parse_dynamic()
|
/freebsd/sys/riscv/riscv/ |
H A D | elf_machdep.c | 545 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 D | InputFiles.cpp | 1455 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 D | reloc.c | 57 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 D | ELFObjectFile.h | 388 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 D | ELFTypes.h | 118 using Elf_Dyn = typename ELFT::Dyn; \
|
/freebsd/stand/common/ |
H A D | load_elf.c | 545 Elf_Dyn *dp; 863 ndp = php->p_filesz / sizeof(Elf_Dyn);
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 257 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()
|