| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | machine_kexec_64.c | 480 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add() 483 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add() 486 if (sym->st_shndx == SHN_UNDEF) { in arch_kexec_apply_relocations_add() 491 if (sym->st_shndx == SHN_COMMON) { in arch_kexec_apply_relocations_add() 496 if (sym->st_shndx == SHN_ABS) in arch_kexec_apply_relocations_add() 498 else if (sym->st_shndx >= pi->ehdr->e_shnum) { in arch_kexec_apply_relocations_add() 500 sym->st_shndx, name); in arch_kexec_apply_relocations_add() 503 sec_base = pi->sechdrs[sym->st_shndx].sh_addr; in arch_kexec_apply_relocations_add()
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/ |
| H A D | machine_kexec_file.c | 301 if (sym->st_shndx == SHN_UNDEF) in arch_kexec_apply_relocations_add() 304 if (sym->st_shndx == SHN_COMMON) in arch_kexec_apply_relocations_add() 307 if (sym->st_shndx >= pi->ehdr->e_shnum && in arch_kexec_apply_relocations_add() 308 sym->st_shndx != SHN_ABS) in arch_kexec_apply_relocations_add() 316 if (sym->st_shndx != SHN_ABS) in arch_kexec_apply_relocations_add() 317 val += pi->sechdrs[sym->st_shndx].sh_addr; in arch_kexec_apply_relocations_add()
|
| /OK3568_Linux_fs/kernel/scripts/mod/ |
| H A D | modpost.h | 177 if (is_shndx_special(sym->st_shndx)) in get_secindex() 178 return SPECIAL(sym->st_shndx); in get_secindex() 179 if (sym->st_shndx != SHN_XINDEX) in get_secindex() 180 return sym->st_shndx; in get_secindex()
|
| H A D | modpost.c | 620 sym->st_shndx = TO_NATIVE(sym->st_shndx); in parse_elf() 681 if (sym->st_shndx == SHN_UNDEF) { in handle_modversion() 687 if (sym->st_shndx == SHN_ABS) { in handle_modversion() 710 switch (sym->st_shndx) { in handle_symbol() 1354 if (is_shndx_special(sym->st_shndx)) in find_elf_symbol2() 1879 if (is_shndx_special(sym->st_shndx)) in section_rela() 1939 if (is_shndx_special(sym->st_shndx)) in section_rel()
|
| /OK3568_Linux_fs/kernel/arch/x86/tools/ |
| H A D | relocs.c | 269 name = sec_name(sym->st_shndx); in sym_name() 496 sym->st_shndx = elf_half_to_cpu(sym->st_shndx); in read_symtabs() 562 if (sym->st_shndx != SHN_ABS) { in print_absolute_symbols() 609 if (sym->st_shndx != SHN_ABS) { in print_absolute_relocs() 763 return (sym->st_shndx == per_cpu_shndx) && in is_percpu_sym() 775 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc64() 777 if (sym->st_shndx == SHN_UNDEF) in do_reloc64() 870 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc32() 915 int shn_abs = (sym->st_shndx == SHN_ABS) && !is_reloc(S_REL, symname); in do_reloc_real() 1102 sec_name(sym->st_shndx)); in do_reloc_info()
|
| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | elf.c | 422 if ((sym->sym.st_shndx > SHN_UNDEF && in read_symbols() 423 sym->sym.st_shndx < SHN_LORESERVE) || in read_symbols() 424 (shndx_data && sym->sym.st_shndx == SHN_XINDEX)) { in read_symbols() 425 if (sym->sym.st_shndx != SHN_XINDEX) in read_symbols() 426 shndx = sym->sym.st_shndx; in read_symbols() 581 bool is_special_shndx = sym->sym.st_shndx >= SHN_LORESERVE && in elf_update_symbol() 582 sym->sym.st_shndx != SHN_XINDEX; in elf_update_symbol() 585 shndx = sym->sym.st_shndx; in elf_update_symbol() 672 sym->sym.st_shndx = shndx; in elf_update_symbol() 676 sym->sym.st_shndx = SHN_XINDEX; in elf_update_symbol()
|
| /OK3568_Linux_fs/kernel/arch/sparc/vdso/ |
| H A D | vma.c | 131 osym->st_shndx = nsym->st_shndx; in patchsym64() 199 osym->st_shndx = nsym->st_shndx; in patchsym32()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | module_64.c | 259 if (syms[i].st_shndx == SHN_UNDEF) { in dedotify() 263 syms[i].st_shndx = SHN_ABS; in dedotify() 281 if (syms[i].st_shndx == SHN_ABS in find_dot_toc() 634 if (sym->st_shndx == SHN_UNDEF || in apply_relocate_add() 635 sym->st_shndx == SHN_LIVEPATCH) { in apply_relocate_add()
|
| H A D | vdso.c | 314 sym32_gen->st_shndx = sym32_fix->st_shndx; in vdso_do_func_patch32() 420 sym64_gen->st_shndx = sym64_fix->st_shndx; in vdso_do_func_patch64()
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | fips140_gen_hmac.c | 70 return (void *)ehdr + shdr[syms[i].st_shndx].sh_offset + in get_sym_addr() 109 syms[sym_idx].st_shndx = sec_idx; in update_rela_ref()
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | module.c | 75 if (sym[i].st_shndx == SHN_UNDEF) { in module_frob_arch_sections() 77 sym[i].st_shndx = SHN_ABS; in module_frob_arch_sections()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | module.c | 2376 switch (sym[i].st_shndx) { in simplify_symbols() 2421 if (sym[i].st_shndx == info->index.pcpu) in simplify_symbols() 2424 secbase = info->sechdrs[sym[i].st_shndx].sh_addr; in simplify_symbols() 2700 if (sym->st_shndx == SHN_UNDEF) in elf_type() 2702 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) in elf_type() 2704 if (sym->st_shndx >= SHN_LORESERVE) in elf_type() 2706 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type() 2708 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type() 2709 && sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { in elf_type() 2710 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type() [all …]
|
| H A D | kexec_file.c | 1076 if (syms[k].st_shndx == SHN_UNDEF || in kexec_purgatory_find_symbol() 1077 syms[k].st_shndx >= ehdr->e_shnum) { in kexec_purgatory_find_symbol() 1079 name, syms[k].st_shndx); in kexec_purgatory_find_symbol() 1101 sechdr = &pi->sechdrs[sym->st_shndx]; in kexec_purgatory_get_symbol_addr() 1132 sec = pi->sechdrs + sym->st_shndx; in kexec_purgatory_get_set_symbol()
|
| /OK3568_Linux_fs/kernel/arch/mips/boot/tools/ |
| H A D | relocs.c | 126 name = sec_name(sym->st_shndx); in sym_name() 347 sym->st_shndx = elf_half_to_cpu(sym->st_shndx); in read_symtabs() 644 sec_name(sym->st_shndx)); in do_reloc_info()
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | module.c | 209 if (sym->st_shndx == SHN_UNDEF) in apply_relocate_add() 263 me->name, r_type, sym->st_shndx); in apply_relocate_add()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | elf.h | 190 Elf32_Half st_shndx; member 197 Elf64_Half st_shndx; /* Associated section index */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | elf.h | 189 Elf32_Half st_shndx; member 196 Elf64_Half st_shndx; /* Associated section index */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | elf.h | 189 Elf32_Half st_shndx; member 196 Elf64_Half st_shndx; /* Associated section index */ member
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | genelf.c | 89 .st_shndx = 0, /* for now */ 96 .st_shndx = 1,
|
| H A D | symbol-elf.c | 135 sym->st_shndx != SHN_UNDEF; in elf_sym__is_function() 142 sym->st_shndx != SHN_UNDEF; in elf_sym__is_object() 149 sym->st_shndx != SHN_UNDEF && in elf_sym__is_label() 150 sym->st_shndx != SHN_ABS && in elf_sym__is_label() 1203 if (runtime_ss->opdsec && sym.st_shndx == runtime_ss->opdidx) { in dso__load_sym() 1207 sym.st_shndx = elf_addr_to_index(runtime_ss->elf, in dso__load_sym() 1221 if (sym.st_shndx == SHN_ABS) in dso__load_sym() 1224 sec = elf_getscn(runtime_ss->elf, sym.st_shndx); in dso__load_sym()
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | module-plts.c | 189 if (s->st_shndx == dstidx) in count_plts() 263 if (s->st_shndx == dstidx) in branch_rela_needs_plt()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/arc/kernel/ |
| H A D | module.c | 86 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/ |
| H A D | elf32.h | 191 Elf32_Half st_shndx; /* Section index of symbol. */ member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | elf32.h | 191 Elf32_Half st_shndx; /* Section index of symbol. */ member
|