Home
last modified time | relevance | path

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

123

/linux-5.19.10/arch/x86/kernel/
Dmodule.c260 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
262 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
264 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
266 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
268 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
270 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
272 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
274 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
276 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
/linux-5.19.10/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-5.19.10/tools/perf/util/
Dgenelf.c194 shdr->sh_name = 104; in jit_add_eh_frame_info()
228 shdr->sh_name = 90; in jit_add_eh_frame_info()
316 shdr->sh_name = 1; in jit_write_elf()
362 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
398 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
441 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
483 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
Dgenelf_debug.c527 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info()
561 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info()
595 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
/linux-5.19.10/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-5.19.10/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-5.19.10/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.c288 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
290 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
295 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
Dmodule.c31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
/linux-5.19.10/arch/arm64/kernel/
Dmodule-plts.c304 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
306 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
308 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
345 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
/linux-5.19.10/arch/arm/kernel/
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 (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
/linux-5.19.10/tools/objtool/
Dorc_dump.c119 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
179 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
/linux-5.19.10/arch/loongarch/kernel/
Dmodule-sections.c75 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
77 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections()
/linux-5.19.10/arch/sparc/kernel/
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()
/linux-5.19.10/arch/ia64/kernel/
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()
/linux-5.19.10/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-5.19.10/include/uapi/linux/
Delf.h309 Elf32_Word sh_name; member
322 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/linux-5.19.10/kernel/module/
Dkallsyms.c70 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
121 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab()
149 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
Dstrict_rwx.c137 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
/linux-5.19.10/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()
/linux-5.19.10/lib/
Dbug.c99 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux-5.19.10/arch/mips/vdso/
Dgenvdso.h24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/linux-5.19.10/scripts/
Drecordmcount.h307 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func()
321 mcsec.sh_name = w(old_shstr_sh_size); in append_func()
560 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount()
/linux-5.19.10/arch/mips/boot/tools/
Drelocs.c98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
279 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
/linux-5.19.10/drivers/remoteproc/
Dremoteproc_elf_helpers.h84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32) in ELF_GEN_FIELD_GET_SET()

123