Searched refs:shstrndx (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | sorttable.h | 219 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()
|
| /OK3568_Linux_fs/kernel/drivers/remoteproc/ |
| H A D | remoteproc_elf_helpers.h | 102 u16 shstrndx = elf_hdr_get_e_shstrndx(class, ehdr); local 107 shdr = ehdr + elf_size_of_hdr(class) + shstrndx * elf_size_of_shdr(class);
|
| H A D | remoteproc_elf_loader.c | 256 u16 shstrndx = elf_hdr_get_e_shstrndx(class, ehdr); local 262 name_table_shdr = shdr + (shstrndx * elf_shdr_get_size);
|
| /OK3568_Linux_fs/kernel/arch/x86/tools/ |
| H A D | relocs.c | 16 static unsigned int shstrndx; variable 247 sec_strtab = secs[shstrndx].strtab; in sec_name() 373 shstrndx = ehdr.e_shstrndx; in read_ehdr() 389 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr() 401 if (shstrndx == SHN_XINDEX) in read_ehdr() 402 shstrndx = elf_word_to_cpu(shdr.sh_link); in read_ehdr() 405 if (shstrndx >= shnum) in read_ehdr()
|
| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | elf.c | 269 size_t shstrndx, sections_nr; in read_sections() local 277 if (elf_getshdrstrndx(elf->elf, &shstrndx)) { in read_sections() 306 sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name); in read_sections()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | symbol-elf.c | 2316 size_t shstrndx, next; in construct_sdt_notes_list() local 2325 if (elf_getshdrstrndx(elf, &shstrndx) != 0) { in construct_sdt_notes_list()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf.c | 440 size_t shstrndx; /* section index for section name strings */ member 1154 if (elf_getshdrstrndx(obj->efile.elf, &obj->efile.shstrndx)) { in bpf_object__elf_init() 1162 if (!elf_rawdata(elf_getscn(obj->efile.elf, obj->efile.shstrndx), NULL)) { in bpf_object__elf_init() 2635 name = elf_strptr(obj->efile.elf, obj->efile.shstrndx, off); in elf_sec_str()
|