Home
last modified time | relevance | path

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

12

/linux/arch/x86/kernel/
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()
A Dmachine_kexec_64.c419 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add()
452 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/linux/arch/hexagon/kernel/
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()
/linux/tools/perf/util/
A Dgenelf.c190 shdr->sh_name = 104; in jit_add_eh_frame_info()
224 shdr->sh_name = 90; in jit_add_eh_frame_info()
312 shdr->sh_name = 1; in jit_write_elf()
358 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
394 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
437 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
479 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
A 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/arch/arc/kernel/
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()
/linux/arch/powerpc/kernel/
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()
A Dmodule_64.c290 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
292 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
297 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
302 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
A Dmodule.c31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
/linux/arch/riscv/kernel/
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()
/linux/arch/arm64/kernel/
A 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/arch/arm/kernel/
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 (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
A Dmodule.c356 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
378 const char *secname = secstrs + s->sh_name; in module_finalize()
A Dvdso.c117 if (strcmp(secnames + sechdrs[i].sh_name, name) == 0) { in find_section()
/linux/tools/objtool/
A 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/arch/sparc/kernel/
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()
/linux/arch/ia64/kernel/
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()
/linux/arch/x86/entry/vdso/
A 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/include/uapi/linux/
A Delf.h305 Elf32_Word sh_name; member
318 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/linux/arch/sparc/vdso/
A 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/scripts/
A 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/arch/mips/boot/tools/
A 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/arch/mips/vdso/
A Dgenvdso.h24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/linux/lib/
A Dbug.c100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux/drivers/remoteproc/
A Dremoteproc_elf_helpers.h84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32) in ELF_GEN_FIELD_GET_SET()

Completed in 35 milliseconds

12