Home
last modified time | relevance | path

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

/linux/scripts/
A Dsorttable.h219 unsigned int shstrndx; in do_sort() local
226 shstrndx = r2(&ehdr->e_shstrndx); in do_sort()
227 if (shstrndx == SHN_XINDEX) in do_sort()
228 shstrndx = r(&shdr[0].sh_link); in do_sort()
229 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort()
/linux/drivers/remoteproc/
A Dremoteproc_elf_helpers.h102 u16 shstrndx = elf_hdr_get_e_shstrndx(class, ehdr); local
107 shdr = ehdr + elf_size_of_hdr(class) + shstrndx * elf_size_of_shdr(class);
A Dremoteproc_elf_loader.c260 u16 shstrndx = elf_hdr_get_e_shstrndx(class, ehdr); local
266 name_table_shdr = shdr + (shstrndx * elf_shdr_get_size);
A Dpru_rproc.c655 u16 shstrndx = ehdr->e_shstrndx; in pru_rproc_find_interrupt_map() local
661 name_table_shdr = shdr + shstrndx; in pru_rproc_find_interrupt_map()
/linux/arch/x86/tools/
A Drelocs.c16 static unsigned int shstrndx; variable
256 sec_strtab = secs[shstrndx].strtab; in sec_name()
399 shstrndx = ehdr.e_shstrndx; in read_ehdr()
415 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()
427 if (shstrndx == SHN_XINDEX) in read_ehdr()
428 shstrndx = elf_word_to_cpu(shdr.sh_link); in read_ehdr()
431 if (shstrndx >= shnum) in read_ehdr()
/linux/tools/objtool/
A Delf.c229 size_t shstrndx, sections_nr; in read_sections() local
237 if (elf_getshdrstrndx(elf->elf, &shstrndx)) { in read_sections()
270 sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name); in read_sections()
/linux/tools/lib/bpf/
A Dbtf.c893 size_t shstrndx; in btf_parse_elf() local
919 if (elf_getshdrstrndx(elf, &shstrndx)) { in btf_parse_elf()
925 if (!elf_rawdata(elf_getscn(elf, shstrndx), NULL)) { in btf_parse_elf()
940 name = elf_strptr(elf, shstrndx, sh.sh_name); in btf_parse_elf()
A Dlibbpf.c487 size_t shstrndx; /* section index for section name strings */ member
1275 if (elf_getshdrstrndx(elf, &obj->efile.shstrndx)) { in bpf_object__elf_init()
1283 if (!elf_rawdata(elf_getscn(elf, obj->efile.shstrndx), NULL)) { in bpf_object__elf_init()
3015 name = elf_strptr(obj->efile.elf, obj->efile.shstrndx, off); in elf_sec_str()
/linux/tools/perf/util/
A Dsymbol-elf.c2358 size_t shstrndx, next; in construct_sdt_notes_list() local
2367 if (elf_getshdrstrndx(elf, &shstrndx) != 0) { in construct_sdt_notes_list()

Completed in 46 milliseconds