st_shndx 209 arch/alpha/kernel/module.c if (sym->st_shndx == SHN_UNDEF) st_shndx 263 arch/alpha/kernel/module.c me->name, r_type, sym->st_shndx); st_shndx 86 arch/arc/kernel/module.c s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; st_shndx 162 arch/arm/kernel/module-plts.c if (s->st_shndx == dstidx) st_shndx 187 arch/arm64/kernel/module-plts.c if (s->st_shndx == dstidx) st_shndx 126 arch/mips/boot/tools/relocs.c name = sec_name(sym->st_shndx); st_shndx 347 arch/mips/boot/tools/relocs.c sym->st_shndx = elf_half_to_cpu(sym->st_shndx); st_shndx 644 arch/mips/boot/tools/relocs.c sec_name(sym->st_shndx)); st_shndx 497 arch/mips/kernel/vpe.c switch (sym[i].st_shndx) { st_shndx 519 arch/mips/kernel/vpe.c strtab + sym[i].st_name, sym[i].st_shndx); st_shndx 524 arch/mips/kernel/vpe.c secbase = sechdrs[sym[i].st_shndx].sh_addr; st_shndx 309 arch/powerpc/kernel/module_64.c if (syms[i].st_shndx == SHN_UNDEF) { st_shndx 313 arch/powerpc/kernel/module_64.c syms[i].st_shndx = SHN_ABS; st_shndx 331 arch/powerpc/kernel/module_64.c if (syms[i].st_shndx == SHN_ABS st_shndx 636 arch/powerpc/kernel/module_64.c if (sym->st_shndx == SHN_UNDEF || st_shndx 637 arch/powerpc/kernel/module_64.c sym->st_shndx == SHN_LIVEPATCH) { st_shndx 315 arch/powerpc/kernel/vdso.c sym32_gen->st_shndx = sym32_fix->st_shndx; st_shndx 426 arch/powerpc/kernel/vdso.c sym64_gen->st_shndx = sym64_fix->st_shndx; st_shndx 107 arch/s390/boot/startup.c if (dynsym[r_sym].st_shndx != SHN_UNDEF) st_shndx 284 arch/s390/kernel/machine_kexec_file.c if (sym->st_shndx == SHN_UNDEF) st_shndx 287 arch/s390/kernel/machine_kexec_file.c if (sym->st_shndx == SHN_COMMON) st_shndx 290 arch/s390/kernel/machine_kexec_file.c if (sym->st_shndx >= pi->ehdr->e_shnum && st_shndx 291 arch/s390/kernel/machine_kexec_file.c sym->st_shndx != SHN_ABS) st_shndx 299 arch/s390/kernel/machine_kexec_file.c if (sym->st_shndx != SHN_ABS) st_shndx 300 arch/s390/kernel/machine_kexec_file.c val += pi->sechdrs[sym->st_shndx].sh_addr; st_shndx 140 arch/s390/kernel/module.c if (symbols[i].st_shndx == SHN_UNDEF && st_shndx 144 arch/s390/kernel/module.c symbols[i].st_shndx = SHN_ABS; st_shndx 75 arch/sparc/kernel/module.c if (sym[i].st_shndx == SHN_UNDEF) { st_shndx 77 arch/sparc/kernel/module.c sym[i].st_shndx = SHN_ABS; st_shndx 131 arch/sparc/vdso/vma.c osym->st_shndx = nsym->st_shndx; st_shndx 199 arch/sparc/vdso/vma.c osym->st_shndx = nsym->st_shndx; st_shndx 547 arch/x86/kernel/machine_kexec_64.c name = shstrtab + sechdrs[sym->st_shndx].sh_name; st_shndx 550 arch/x86/kernel/machine_kexec_64.c name, sym->st_info, sym->st_shndx, sym->st_value, st_shndx 553 arch/x86/kernel/machine_kexec_64.c if (sym->st_shndx == SHN_UNDEF) { st_shndx 558 arch/x86/kernel/machine_kexec_64.c if (sym->st_shndx == SHN_COMMON) { st_shndx 563 arch/x86/kernel/machine_kexec_64.c if (sym->st_shndx == SHN_ABS) st_shndx 565 arch/x86/kernel/machine_kexec_64.c else if (sym->st_shndx >= pi->ehdr->e_shnum) { st_shndx 567 arch/x86/kernel/machine_kexec_64.c sym->st_shndx, name); st_shndx 570 arch/x86/kernel/machine_kexec_64.c sec_base = pi->sechdrs[sym->st_shndx].sh_addr; st_shndx 268 arch/x86/tools/relocs.c name = sec_name(sym->st_shndx); st_shndx 495 arch/x86/tools/relocs.c sym->st_shndx = elf_half_to_cpu(sym->st_shndx); st_shndx 561 arch/x86/tools/relocs.c if (sym->st_shndx != SHN_ABS) { st_shndx 608 arch/x86/tools/relocs.c if (sym->st_shndx != SHN_ABS) { st_shndx 762 arch/x86/tools/relocs.c return (sym->st_shndx == per_cpu_shndx) && st_shndx 774 arch/x86/tools/relocs.c int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); st_shndx 776 arch/x86/tools/relocs.c if (sym->st_shndx == SHN_UNDEF) st_shndx 863 arch/x86/tools/relocs.c int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); st_shndx 906 arch/x86/tools/relocs.c int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); st_shndx 1091 arch/x86/tools/relocs.c sec_name(sym->st_shndx)); st_shndx 189 include/uapi/linux/elf.h Elf32_Half st_shndx; st_shndx 196 include/uapi/linux/elf.h Elf64_Half st_shndx; /* Associated section index */ st_shndx 1094 kernel/kexec_file.c if (syms[k].st_shndx == SHN_UNDEF || st_shndx 1095 kernel/kexec_file.c syms[k].st_shndx >= ehdr->e_shnum) { st_shndx 1097 kernel/kexec_file.c name, syms[k].st_shndx); st_shndx 1119 kernel/kexec_file.c sechdr = &pi->sechdrs[sym->st_shndx]; st_shndx 1150 kernel/kexec_file.c sec = pi->sechdrs + sym->st_shndx; st_shndx 219 kernel/livepatch/core.c if (sym->st_shndx != SHN_LIVEPATCH) { st_shndx 2308 kernel/module.c switch (sym[i].st_shndx) { st_shndx 2351 kernel/module.c if (sym[i].st_shndx == info->index.pcpu) st_shndx 2354 kernel/module.c secbase = info->sechdrs[sym[i].st_shndx].sh_addr; st_shndx 2628 kernel/module.c if (sym->st_shndx == SHN_UNDEF) st_shndx 2630 kernel/module.c if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) st_shndx 2632 kernel/module.c if (sym->st_shndx >= SHN_LORESERVE) st_shndx 2634 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) st_shndx 2636 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC st_shndx 2637 kernel/module.c && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { st_shndx 2638 kernel/module.c if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) st_shndx 2640 kernel/module.c else if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) st_shndx 2645 kernel/module.c if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { st_shndx 2646 kernel/module.c if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) st_shndx 2651 kernel/module.c if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, st_shndx 2663 kernel/module.c if (src->st_shndx == SHN_UNDEF st_shndx 2664 kernel/module.c || src->st_shndx >= shnum st_shndx 2669 kernel/module.c if (src->st_shndx == pcpundx) st_shndx 2673 kernel/module.c sec = sechdrs + src->st_shndx; st_shndx 4076 kernel/module.c if (sym->st_shndx == SHN_UNDEF) st_shndx 4231 kernel/module.c sym->st_shndx != SHN_UNDEF) st_shndx 4280 kernel/module.c if (sym->st_shndx == SHN_UNDEF) st_shndx 431 samples/bpf/bpf_load.c if (sym[nr_maps].st_shndx != maps_shndx) st_shndx 172 scripts/insert-sys-cert.c secndx = elf_sym->st_shndx; st_shndx 1424 scripts/mod/file2alias.c if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) st_shndx 627 scripts/mod/modpost.c sym->st_shndx = TO_NATIVE(sym->st_shndx); st_shndx 700 scripts/mod/modpost.c if (sym->st_shndx != SHN_UNDEF && sym->st_shndx != SHN_ABS) { st_shndx 705 scripts/mod/modpost.c info->sechdrs[sym->st_shndx].sh_offset - st_shndx 707 scripts/mod/modpost.c info->sechdrs[sym->st_shndx].sh_addr : 0); st_shndx 714 scripts/mod/modpost.c switch (sym->st_shndx) { st_shndx 1369 scripts/mod/modpost.c if (is_shndx_special(sym->st_shndx)) st_shndx 1898 scripts/mod/modpost.c if (is_shndx_special(sym->st_shndx)) st_shndx 1958 scripts/mod/modpost.c if (is_shndx_special(sym->st_shndx)) st_shndx 177 scripts/mod/modpost.h if (is_shndx_special(sym->st_shndx)) st_shndx 178 scripts/mod/modpost.h return SPECIAL(sym->st_shndx); st_shndx 179 scripts/mod/modpost.h if (sym->st_shndx != SHN_XINDEX) st_shndx 180 scripts/mod/modpost.h return sym->st_shndx; st_shndx 448 scripts/recordmcount.h if (txtndx == w2(symp->st_shndx) st_shndx 195 scripts/sortextable.h sort_needed_sec = &shdr[get_secindex(r2(&sym->st_shndx), st_shndx 459 tools/lib/bpf/libbpf.c if (sym.st_shndx != prog->idx) st_shndx 927 tools/lib/bpf/libbpf.c if (sym.st_shndx != obj->efile.maps_shndx) st_shndx 952 tools/lib/bpf/libbpf.c if (sym.st_shndx != obj->efile.maps_shndx) st_shndx 968 tools/lib/bpf/libbpf.c map->sec_idx = sym.st_shndx; st_shndx 1772 tools/lib/bpf/libbpf.c shdr_idx = sym.st_shndx; st_shndx 1827 tools/lib/bpf/libbpf.c (maps[map_idx].sec_idx == sym.st_shndx && st_shndx 249 tools/objtool/elf.c if (sym->sym.st_shndx > SHN_UNDEF && st_shndx 250 tools/objtool/elf.c sym->sym.st_shndx < SHN_LORESERVE) { st_shndx 252 tools/objtool/elf.c sym->sym.st_shndx); st_shndx 165 tools/objtool/orc_dump.c scn = elf_getscn(elf, sym.st_shndx); st_shndx 90 tools/perf/util/genelf.c .st_shndx = 0, /* for now */ st_shndx 97 tools/perf/util/genelf.c .st_shndx = 1, st_shndx 133 tools/perf/util/symbol-elf.c sym->st_shndx != SHN_UNDEF; st_shndx 140 tools/perf/util/symbol-elf.c sym->st_shndx != SHN_UNDEF; st_shndx 147 tools/perf/util/symbol-elf.c sym->st_shndx != SHN_UNDEF && st_shndx 148 tools/perf/util/symbol-elf.c sym->st_shndx != SHN_ABS && st_shndx 1086 tools/perf/util/symbol-elf.c if (runtime_ss->opdsec && sym.st_shndx == runtime_ss->opdidx) { st_shndx 1090 tools/perf/util/symbol-elf.c sym.st_shndx = elf_addr_to_index(runtime_ss->elf, st_shndx 1103 tools/perf/util/symbol-elf.c if (sym.st_shndx == SHN_ABS) st_shndx 1106 tools/perf/util/symbol-elf.c sec = elf_getscn(runtime_ss->elf, sym.st_shndx); st_shndx 240 tools/testing/selftests/vDSO/parse_vdso.c if (sym->st_shndx == SHN_UNDEF)