Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/arch/x86/kernel/
Dmodule.c219 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
221 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
223 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
225 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
Dmachine_kexec_64.c474 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/linux-4.1.27/arch/metag/kernel/
Dmodule.c98 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
103 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != NULL) in get_plt_size()
141 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
143 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
/linux-4.1.27/arch/powerpc/kernel/
Dmodule_32.c112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != 0) in get_plt_size()
117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != 0) 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.c371 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
373 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) in module_frob_arch_sections()
375 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
380 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()
Dvdso.c308 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section32()
399 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section64()
/linux-4.1.27/arch/ia64/kernel/
Dmodule.c432 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
434 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
436 else if (strcmp(".got", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
438 else if (strcmp(".opd", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
440 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
444 secstrings + s->sh_name) == 0) in module_frob_arch_sections()
447 secstrings + s->sh_name) == 0) in module_frob_arch_sections()
466 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/linux-4.1.27/arch/sparc/kernel/
Dmodule.c190 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections()
192 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
/linux-4.1.27/arch/blackfin/kernel/
Dmodule.c35 const char *shname = secstrings + s->sh_name; in module_frob_arch_sections()
254 const char *shname = secstrings + sechdrs[i].sh_name; in module_finalize()
/linux-4.1.27/include/uapi/linux/
Delf.h300 Elf32_Word sh_name; member
313 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/linux-4.1.27/arch/arm/kernel/
Dmodule.c284 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
306 const char *secname = secstrs + s->sh_name; in module_finalize()
Dvdso.c112 if (strcmp(secnames + sechdrs[i].sh_name, name) == 0) { in find_section()
/linux-4.1.27/lib/
Dbug.c97 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux-4.1.27/arch/arc/kernel/
Dmodule.c43 if (strcmp(secstr+sechdrs[i].sh_name, ".debug_frame") == 0) { in module_frob_arch_sections()
/linux-4.1.27/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()
Dsortextable.h130 idx = r(&shdr[i].sh_name); in do_func()
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h71 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_elf_loader.c228 if (strcmp(name_table + shdr->sh_name, ".resource_table"))
/linux-4.1.27/arch/mips/kernel/
Dmodule.c282 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
Dvpe.c490 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) { in simplify_symbols()
666 secstrings + sechdrs[i].sh_name, in vpe_elfload()
/linux-4.1.27/arch/x86/tools/
Drelocs.c244 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
408 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
/linux-4.1.27/arch/alpha/kernel/
Dmodule.c93 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
/linux-4.1.27/samples/bpf/
Dbpf_load.c149 *shname = elf_strptr(elf, ehdr->e_shstrndx, shdr->sh_name); in get_sec()
/linux-4.1.27/kernel/
Dmodule.c229 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()
1357 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
2076 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2105 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2257 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
2303 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab()
2327 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
2633 if (strstarts(info->secstrings+shdr->sh_name, ".exit")) in rewrite_section_headers()
2882 (long)shdr->sh_addr, info->secstrings + shdr->sh_name); in move_module()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c206 s->sh_name = swab32(s->sh_name); in convert_elf_shdrs()
/linux-4.1.27/arch/arm64/kernel/
Dmodule.c410 if (strcmp(".altinstructions", secstrs + s->sh_name) == 0) { in module_finalize()
/linux-4.1.27/scripts/mod/
Dmodpost.c481 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf()
505 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
765 sechdrs[secindex].sh_name; in sec_name()
772 sechdr->sh_name; in sech_name()
/linux-4.1.27/tools/perf/util/
Dsymbol-elf.c125 return secstrs->d_buf + shdr->sh_name; in elf_sec__name()
186 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
/linux-4.1.27/arch/sh/kernel/
Ddwarf.c1105 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
/linux-4.1.27/arch/parisc/kernel/
Dmodule.c336 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()