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

123

/linux-master/arch/hexagon/kernel/
H A Dmodule.c37 secstrings + sechdrs[i].sh_name);
38 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
40 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0)
42 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0)
/linux-master/arch/x86/kernel/
H A Dmodule.c285 if (!strcmp(".altinstructions", secstrings + s->sh_name))
287 if (!strcmp(".smp_locks", secstrings + s->sh_name))
289 if (!strcmp(".orc_unwind", secstrings + s->sh_name))
291 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name))
293 if (!strcmp(".retpoline_sites", secstrings + s->sh_name))
295 if (!strcmp(".return_sites", secstrings + s->sh_name))
297 if (!strcmp(".call_sites", secstrings + s->sh_name))
299 if (!strcmp(".cfi_sites", secstrings + s->sh_name))
301 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name))
/linux-master/arch/arc/kernel/
H A Dmodule.c67 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr);
86 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name;
114 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0)
/linux-master/tools/objtool/
H A Dorc_dump.c74 name = elf_strptr(elf, shstrtab_idx, sh.sh_name);
134 name = elf_strptr(elf, shstrtab_idx, sh.sh_name);
/linux-master/arch/loongarch/kernel/
H A Dmodule-sections.c114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got"))
116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx"))
120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline"))
H A Dmodule.c523 if (!strcmp(".altinstructions", secstrs + s->sh_name))
525 if (!strcmp(".orc_unwind", secstrs + s->sh_name))
527 if (!strcmp(".orc_unwind_ip", secstrs + s->sh_name))
529 if (!strcmp(".ftrace_trampoline", secstrs + s->sh_name))
/linux-master/arch/arm64/include/asm/
H A Dmodule.h61 if (strcmp(name, secstrs + s->sh_name) == 0)
/linux-master/tools/perf/util/
H A Dgenelf.c196 shdr->sh_name = 104;
230 shdr->sh_name = 90;
332 shdr->sh_name = 1;
379 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */
415 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */
458 shdr->sh_name = 25; /* offset in shd_string_table */
500 shdr->sh_name = 33; /* offset in shd_string_table */
H A Dgenelf_debug.c538 shdr->sh_name = 52; /* .debug_line */
572 shdr->sh_name = 64; /* .debug_info */
606 shdr->sh_name = 76; /* .debug_info */
/linux-master/kernel/
H A Dcfi.c60 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps"))
/linux-master/arch/powerpc/kernel/
H A Dmodule_32.c86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL)
91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug"))
129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0)
131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
H A Dmodule.c31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0)
/linux-master/arch/arm64/kernel/
H A Dmodule-plts.c294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt"))
298 else if (!strcmp(secstrings + sechdrs[i].sh_name,
335 if (!module_init_layout_section(secstrings + dstsec->sh_name))
/linux-master/kernel/module/
H A Dstrict_rwx.c93 mod->name, secstrings + sechdrs[i].sh_name, i);
H A Dkallsyms.c71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name,
126 pr_debug("\t%s\n", info->secstrings + symsect->sh_name);
153 pr_debug("\t%s\n", info->secstrings + strsect->sh_name);
/linux-master/arch/riscv/kernel/
H A Dmodule-sections.c101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got"))
105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt"))
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c222 if (strcmp(".plt", secstrings + s->sh_name) == 0)
224 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0)
254 if (!module_init_layout_section(secstrings + dstsec->sh_name))
/linux-master/arch/riscv/include/asm/
H A Dmodule.h123 if (strcmp(name, secstrs + s->sh_name) == 0)
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c100 if (strstr(strtab + swab_elfword(shdr[info].sh_name),
/linux-master/arch/sparc/kernel/
H A Dmodule.c191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name))
193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name))
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.h112 if (!strcmp(secstrings + GET_LE(&sh->sh_name),
115 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table"))
/linux-master/arch/mips/vdso/
H A Dgenvdso.h24 name = shstrtab + swap_uint32(shdr->sh_name);
/linux-master/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32)
/linux-master/lib/
H A Dbug.c100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table"))
/linux-master/include/uapi/linux/
H A Delf.h309 Elf32_Word sh_name; member in struct:elf32_shdr
322 Elf64_Word sh_name; /* Section name, index in string tbl */ member in struct:elf64_shdr

Completed in 421 milliseconds

123