Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 - 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dmodule.c259 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
261 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
263 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
265 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
267 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
269 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
271 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
273 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dmodule.c285 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
287 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
289 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
291 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
293 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
295 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
297 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
299 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize()
301 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize()
303 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
[all...]
/kernel/linux/linux-5.10/arch/hexagon/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/hexagon/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/arc/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/arc/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A 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()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dgenelf.c194 shdr->sh_name = 104; in jit_add_eh_frame_info()
228 shdr->sh_name = 90; in jit_add_eh_frame_info()
330 shdr->sh_name = 1; in jit_write_elf()
376 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
412 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
455 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
497 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dgenelf.c196 shdr->sh_name = 104; in jit_add_eh_frame_info()
230 shdr->sh_name = 90; in jit_add_eh_frame_info()
332 shdr->sh_name = 1; in jit_write_elf()
379 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
415 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
458 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
500 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dmodule_32.c85 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
90 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size()
128 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
130 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A 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()
/kernel/linux/linux-5.10/tools/objtool/
H A Dorc_dump.c118 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
178 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
/kernel/linux/linux-6.6/tools/objtool/
H A Dorc_dump.c129 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
189 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule-plts.c227 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
229 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
259 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A 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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dmodule-plts.c305 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
307 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
309 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
346 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmodule-plts.c295 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
297 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
299 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
336 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c434 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
436 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
438 else if (strcmp(".got", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
440 else if (strcmp(".opd", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
442 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
460 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c434 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
436 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
438 else if (strcmp(".got", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
440 else if (strcmp(".opd", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
442 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
460 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmodule.c191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections()
193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dmodule.c191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections()
193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dmodule.h62 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()

Completed in 13 milliseconds

12345