Lines Matching refs:ELF
59 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) macro
70 ELF(Sym) *symtab;
72 ELF(Word) *bucket, *chain;
73 ELF(Word) nbucket, nchain;
76 ELF(Versym) *versym;
77 ELF(Verdef) *verdef;
103 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr()
109 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
110 ELF(Dyn) *dyn = 0; in vdso_init_from_sysinfo_ehdr()
124 dyn = (ELF(Dyn)*)(base + pt[i].p_offset); in vdso_init_from_sysinfo_ehdr()
134 ELF(Word) *hash = 0; in vdso_init_from_sysinfo_ehdr()
147 vdso_info.symtab = (ELF(Sym) *) in vdso_init_from_sysinfo_ehdr()
152 hash = (ELF(Word) *) in vdso_init_from_sysinfo_ehdr()
157 vdso_info.versym = (ELF(Versym) *) in vdso_init_from_sysinfo_ehdr()
162 vdso_info.verdef = (ELF(Verdef) *) in vdso_init_from_sysinfo_ehdr()
184 static bool vdso_match_version(ELF(Versym) ver, in vdso_match_version()
185 const char *name, ELF(Word) hash) in vdso_match_version()
204 ELF(Verdef) *def = vdso_info.verdef; in vdso_match_version()
213 def = (ELF(Verdef) *)((char *)def + def->vd_next); in vdso_match_version()
217 ELF(Verdaux) *aux = (ELF(Verdaux)*)((char *)def + def->vd_aux); in vdso_match_version()
229 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym()
232 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
259 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()