/linux-4.4.14/arch/x86/kernel/ |
D | machine_kexec_64.c | 476 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add() 479 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add() 482 if (sym->st_shndx == SHN_UNDEF) { in arch_kexec_apply_relocations_add() 487 if (sym->st_shndx == SHN_COMMON) { in arch_kexec_apply_relocations_add() 492 if (sym->st_shndx == SHN_ABS) in arch_kexec_apply_relocations_add() 494 else if (sym->st_shndx >= ehdr->e_shnum) { in arch_kexec_apply_relocations_add() 496 sym->st_shndx, name); in arch_kexec_apply_relocations_add() 499 sec_base = sechdrs[sym->st_shndx].sh_addr; in arch_kexec_apply_relocations_add()
|
/linux-4.4.14/scripts/mod/ |
D | modpost.h | 166 if (is_shndx_special(sym->st_shndx)) in get_secindex() 167 return SPECIAL(sym->st_shndx); in get_secindex() 168 if (sym->st_shndx != SHN_XINDEX) in get_secindex() 169 return sym->st_shndx; in get_secindex()
|
D | modpost.c | 549 sym->st_shndx = TO_NATIVE(sym->st_shndx); in parse_elf() 625 switch (sym->st_shndx) { in handle_modversions() 1282 if (is_shndx_special(sym->st_shndx)) in find_elf_symbol2() 1816 if (is_shndx_special(sym->st_shndx)) in section_rela() 1876 if (is_shndx_special(sym->st_shndx)) in section_rel()
|
D | file2alias.c | 1317 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()
|
/linux-4.4.14/arch/x86/tools/ |
D | relocs.c | 263 name = sec_name(sym->st_shndx); in sym_name() 476 sym->st_shndx = elf_half_to_cpu(sym->st_shndx); in read_symtabs() 542 if (sym->st_shndx != SHN_ABS) { in print_absolute_symbols() 589 if (sym->st_shndx != SHN_ABS) { in print_absolute_relocs() 743 return (sym->st_shndx == per_cpu_shndx) && in is_percpu_sym() 755 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc64() 757 if (sym->st_shndx == SHN_UNDEF) in do_reloc64() 832 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc32() 875 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc_real() 1059 sec_name(sym->st_shndx)); in do_reloc_info()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | module.c | 74 if (sym[i].st_shndx == SHN_UNDEF) { in module_frob_arch_sections() 76 sym[i].st_shndx = SHN_ABS; in module_frob_arch_sections()
|
/linux-4.4.14/kernel/ |
D | kexec_file.c | 974 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol() 975 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol() 977 name, syms[k].st_shndx); in kexec_purgatory_find_symbol() 999 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1032 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol() 1038 sym_buf = (unsigned char *)sechdrs[sym->st_shndx].sh_offset + in kexec_purgatory_get_set_symbol()
|
D | module.c | 2123 switch (sym[i].st_shndx) { in simplify_symbols() 2162 if (sym[i].st_shndx == info->index.pcpu) in simplify_symbols() 2165 secbase = info->sechdrs[sym[i].st_shndx].sh_addr; in simplify_symbols() 2405 if (sym->st_shndx == SHN_UNDEF) in elf_type() 2407 if (sym->st_shndx == SHN_ABS) in elf_type() 2409 if (sym->st_shndx >= SHN_LORESERVE) in elf_type() 2411 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type() 2413 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type() 2414 && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { in elf_type() 2415 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | vdso.c | 338 sym32_gen->st_shndx = sym32_fix->st_shndx; in vdso_do_func_patch32() 449 sym64_gen->st_shndx = sym64_fix->st_shndx; in vdso_do_func_patch64()
|
D | module_64.c | 335 if (syms[i].st_shndx == SHN_UNDEF) { in dedotify() 354 if (syms[i].st_shndx == SHN_UNDEF in find_dot_toc() 601 if (sym->st_shndx == SHN_UNDEF) { in apply_relocate_add()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | module.c | 218 if (sym->st_shndx == SHN_UNDEF) in apply_relocate_add() 272 me->name, r_type, sym->st_shndx); in apply_relocate_add()
|
/linux-4.4.14/include/uapi/linux/ |
D | elf.h | 188 Elf32_Half st_shndx; member 195 Elf64_Half st_shndx; /* Associated section index */ member
|
/linux-4.4.14/arch/avr32/kernel/ |
D | module.c | 93 if (symbols[i].st_shndx == SHN_UNDEF && in module_frob_arch_sections() 97 symbols[i].st_shndx = SHN_ABS; in module_frob_arch_sections()
|
/linux-4.4.14/tools/perf/util/ |
D | symbol-elf.c | 86 sym->st_shndx != SHN_UNDEF; in elf_sym__is_function() 93 sym->st_shndx != SHN_UNDEF; in elf_sym__is_object() 100 sym->st_shndx != SHN_UNDEF && in elf_sym__is_label() 101 sym->st_shndx != SHN_ABS; in elf_sym__is_label() 918 if (runtime_ss->opdsec && sym.st_shndx == runtime_ss->opdidx) { in dso__load_sym() 922 sym.st_shndx = elf_addr_to_index(runtime_ss->elf, in dso__load_sym() 935 if (sym.st_shndx == SHN_ABS) in dso__load_sym() 938 sec = elf_getscn(runtime_ss->elf, sym.st_shndx); in dso__load_sym()
|
/linux-4.4.14/arch/mips/kernel/ |
D | vpe.c | 497 switch (sym[i].st_shndx) { in simplify_symbols() 519 strtab + sym[i].st_name, sym[i].st_shndx); in simplify_symbols() 524 secbase = sechdrs[sym[i].st_shndx].sh_addr; in simplify_symbols()
|
/linux-4.4.14/arch/s390/kernel/ |
D | module.c | 138 if (symbols[i].st_shndx == SHN_UNDEF && in module_frob_arch_sections() 142 symbols[i].st_shndx = SHN_ABS; in module_frob_arch_sections()
|
/linux-4.4.14/Documentation/vDSO/ |
D | parse_vdso.c | 240 if (sym->st_shndx == SHN_UNDEF) in vdso_sym()
|
/linux-4.4.14/scripts/ |
D | sortextable.h | 197 sort_needed_sec = &shdr[get_secindex(r2(&sym->st_shndx), in do_func()
|
D | recordmcount.h | 432 if (txtndx == w2(symp->st_shndx) in find_secsym_ndx()
|