Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/vdso/
H A Dgenvdso.h10 void *shdrs; in FUNC() local
15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
23 shdr = shdrs + (i * sh_entsize); in FUNC()
61 void *shdrs, *symtab; in FUNC() local
69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff); in FUNC()
74 shdr = shdrs + (i * sh_entsize); in FUNC()
101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
/openbmc/linux/arch/sparc/vdso/
H A Dvma.c72 Elf64_Shdr *shdrs; in one_section64() local
75 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section64()
76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64()
78 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section64()
80 *size = shdrs[i].sh_size; in one_section64()
81 return (void *)e->hdr + shdrs[i].sh_offset; in one_section64()
140 Elf32_Shdr *shdrs; in one_section32() local
143 shdrs = (void *)e->hdr + e->hdr->e_shoff; in one_section32()
146 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section32()
148 *size = shdrs[i].sh_size; in one_section32()
[all …]