Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/sgx/
A Dmain.c45 static void *vdso_get_dyn(void *addr, Elf64_Dyn *dyntab, Elf64_Sxword tag) in vdso_get_dyn() argument
49 for (i = 0; dyntab[i].d_tag != DT_NULL; i++) in vdso_get_dyn()
50 if (dyntab[i].d_tag == tag) in vdso_get_dyn()
51 return addr + dyntab[i].d_un.d_ptr; in vdso_get_dyn()
58 Elf64_Dyn *dyntab = vdso_get_dyntab(addr); in vdso_get_symtab() local
60 symtab->elf_symtab = vdso_get_dyn(addr, dyntab, DT_SYMTAB); in vdso_get_symtab()
64 symtab->elf_symstrtab = vdso_get_dyn(addr, dyntab, DT_STRTAB); in vdso_get_symtab()
68 symtab->elf_hashtab = vdso_get_dyn(addr, dyntab, DT_HASH); in vdso_get_symtab()

Completed in 2 milliseconds