Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/x86/kernel/
Dmodule.c235 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
237 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
239 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
241 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
243 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
245 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
Dlivepatch.c43 cnt = sscanf(info->secstrings + s->sh_name, in arch_klp_init_object_loaded()
Dmachine_kexec_64.c416 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add()
449 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/Linux-v4.19/arch/hexagon/kernel/
Dmodule.c50 secstrings + sechdrs[i].sh_name); in module_frob_arch_sections()
51 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
53 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections()
55 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
/Linux-v4.19/tools/perf/util/
Dgenelf.c195 shdr->sh_name = 104; in jit_add_eh_frame_info()
229 shdr->sh_name = 90; in jit_add_eh_frame_info()
317 shdr->sh_name = 1; in jit_write_elf()
363 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
399 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
442 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
484 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
Dgenelf_debug.c529 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info()
563 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info()
597 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
/Linux-v4.19/arch/arc/kernel/
Dmodule.c70 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add()
89 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add()
117 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add()
/Linux-v4.19/arch/powerpc/kernel/
Dmodule_32.c112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size()
155 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
157 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
Dmodule_64.c353 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
355 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
360 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
363 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".opd")) { in module_frob_arch_sections()
370 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
Dmodule.c41 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
/Linux-v4.19/arch/arm64/kernel/
Dmodule-plts.c213 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
215 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
218 !strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
249 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
Dmodule.c451 if (strcmp(".altinstructions", secstrs + s->sh_name) == 0) in module_finalize()
455 !strcmp(".text.ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
/Linux-v4.19/arch/riscv/kernel/
Dmodule-sections.c98 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
100 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
102 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
/Linux-v4.19/arch/arm/kernel/
Dmodule-plts.c204 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
206 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
236 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
Dmodule.c330 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
352 const char *secname = secstrs + s->sh_name; in module_finalize()
/Linux-v4.19/tools/objtool/
Dorc_dump.c128 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
185 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
/Linux-v4.19/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-v4.19/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-v4.19/include/uapi/linux/
Delf.h304 Elf32_Word sh_name; member
317 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/Linux-v4.19/scripts/
Drecordmcount.h218 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func()
231 mcsec.sh_name = w(old_shstr_sh_size); in append_func()
459 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount()
/Linux-v4.19/lib/
Dbug.c101 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/Linux-v4.19/arch/mips/vdso/
Dgenvdso.h28 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/Linux-v4.19/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-v4.19/arch/x86/entry/vdso/
Dvdso2c.h78 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
/Linux-v4.19/drivers/remoteproc/
Dremoteproc_elf_loader.c228 if (strcmp(name_table + shdr->sh_name, ".resource_table"))

12