Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.12.1/arch/x86/kernel/
Dmodule.c234 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
236 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
238 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
240 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
242 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
244 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
246 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize()
248 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize()
250 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
/linux-6.12.1/arch/hexagon/kernel/
Dmodule.c37 secstrings + sechdrs[i].sh_name); in module_frob_arch_sections()
38 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
40 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections()
42 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
/linux-6.12.1/tools/perf/util/
Dgenelf.c191 shdr->sh_name = 104; in jit_add_eh_frame_info()
225 shdr->sh_name = 90; in jit_add_eh_frame_info()
327 shdr->sh_name = 1; in jit_write_elf()
374 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
410 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
453 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
495 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
Dgenelf_debug.c538 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info()
572 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info()
606 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
/linux-6.12.1/arch/arc/kernel/
Dmodule.c67 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add()
86 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add()
114 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule-sections.c114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections()
120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
Dmodule.c517 if (!strcmp(".altinstructions", secstrs + s->sh_name)) in module_finalize()
519 if (!strcmp(".orc_unwind", secstrs + s->sh_name)) in module_finalize()
521 if (!strcmp(".orc_unwind_ip", secstrs + s->sh_name)) in module_finalize()
523 if (!strcmp(".ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
/linux-6.12.1/arch/powerpc/kernel/
Dmodule_32.c86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size()
129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
Dmodule_64.c412 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
415 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections()
417 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections()
423 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
428 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
Dmodule.c28 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
/linux-6.12.1/arch/riscv/kernel/
Dmodule-sections.c101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
/linux-6.12.1/arch/arm64/kernel/
Dmodule-plts.c294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
298 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
335 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/linux-6.12.1/tools/objtool/
Dorc_dump.c74 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
134 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
/linux-6.12.1/arch/arm/kernel/
Dmodule-plts.c222 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
224 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
254 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/linux-6.12.1/arch/sparc/kernel/
Dmodule.c161 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections()
163 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
/linux-6.12.1/arch/s390/include/asm/
Dmodule.h49 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux-6.12.1/arch/arm64/include/asm/
Dmodule.h61 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux-6.12.1/arch/x86/entry/vdso/
Dvdso2c.h112 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
115 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table")) in BITSFUNC()
/linux-6.12.1/kernel/
Dcfi.c60 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
/linux-6.12.1/kernel/module/
Dstrict_rwx.c93 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
Dkallsyms.c71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
126 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab()
153 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
/linux-6.12.1/include/uapi/linux/
Delf.h309 Elf32_Word sh_name; member
322 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/linux-6.12.1/arch/riscv/include/asm/
Dmodule.h123 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux-6.12.1/arch/arm64/kernel/pi/
Drelacheck.c100 if (strstr(strtab + swab_elfword(shdr[info].sh_name), in main()
/linux-6.12.1/arch/sparc/vdso/
Dvma.c78 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section64()
146 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section32()

123