Home
last modified time | relevance | path

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

/openbsd/usr.bin/gprof/
H A Delf.c55 const Elf_Shdr *shdrs; in getnfile() local
77 shdrs = (const Elf_Shdr *)(base + h.e_shoff); in getnfile()
81 if (shdrs[i].sh_type == SHT_SYMTAB) in getnfile()
85 sh_symtab = &shdrs[i]; in getnfile()
86 sh_strtab = &shdrs[sh_symtab->sh_link]; in getnfile()
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Dreadelf.c3874 Elf32_External_Shdr *shdrs; in get_32bit_section_headers() local
3878 shdrs = get_data (NULL, file, elf_header.e_shoff, in get_32bit_section_headers()
3880 if (!shdrs) in get_32bit_section_headers()
3895 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
3896 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()
3898 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()
3907 free (shdrs); in get_32bit_section_headers()
3915 Elf64_External_Shdr *shdrs; in get_64bit_section_headers() local
3919 shdrs = get_data (NULL, file, elf_header.e_shoff, in get_64bit_section_headers()
3921 if (!shdrs) in get_64bit_section_headers()
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Dreadelf.c3211 Elf32_External_Shdr *shdrs; in get_32bit_section_headers() local
3215 shdrs = get_data (NULL, file, elf_header.e_shoff, in get_32bit_section_headers()
3217 if (!shdrs) in get_32bit_section_headers()
3232 internal->sh_name = BYTE_GET (shdrs[i].sh_name); in get_32bit_section_headers()
3233 internal->sh_type = BYTE_GET (shdrs[i].sh_type); in get_32bit_section_headers()
3235 internal->sh_addr = BYTE_GET (shdrs[i].sh_addr); in get_32bit_section_headers()
3244 free (shdrs); in get_32bit_section_headers()
3252 Elf64_External_Shdr *shdrs; in get_64bit_section_headers() local
3256 shdrs = get_data (NULL, file, elf_header.e_shoff, in get_64bit_section_headers()
3258 if (!shdrs) in get_64bit_section_headers()
[all …]