Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.c476 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
/linux-4.4.14/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.4.14/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.c268 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section32()
373 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section64()
/linux-4.4.14/arch/arm/kernel/
Dmodule-plts.c143 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
145 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
161 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
Dmodule.c314 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
336 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.4.14/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.4.14/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()
458 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/linux-4.4.14/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.4.14/include/uapi/linux/
Delf.h300 Elf32_Word sh_name; member
313 Elf64_Word sh_name; /* Section name, index in string tbl */ member
/linux-4.4.14/arch/arc/kernel/
Dmodule.c43 if (strcmp(secstr+sechdrs[i].sh_name, ".debug_frame") == 0) { in module_frob_arch_sections()
/linux-4.4.14/lib/
Dbug.c99 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux-4.4.14/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.4.14/arch/mips/vdso/
Dgenvdso.h30 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h71 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
/linux-4.4.14/drivers/remoteproc/
Dremoteproc_elf_loader.c228 if (strcmp(name_table + shdr->sh_name, ".resource_table"))
/linux-4.4.14/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.4.14/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.4.14/arch/alpha/kernel/
Dmodule.c93 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
/linux-4.4.14/kernel/
Dmodule.c378 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()
1520 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
2247 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2276 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2428 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
2474 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab()
2498 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
2788 if (strstarts(info->secstrings+shdr->sh_name, ".exit")) in rewrite_section_headers()
3037 (long)shdr->sh_addr, info->secstrings + shdr->sh_name); in move_module()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c206 s->sh_name = swab32(s->sh_name); in convert_elf_shdrs()
/linux-4.4.14/samples/bpf/
Dbpf_load.c182 *shname = elf_strptr(elf, ehdr->e_shstrndx, shdr->sh_name); in get_sec()
/linux-4.4.14/arch/arm64/kernel/
Dmodule.c420 if (strcmp(".altinstructions", secstrs + s->sh_name) == 0) { in module_finalize()
/linux-4.4.14/scripts/mod/
Dmodpost.c482 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf()
506 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
766 sechdrs[secindex].sh_name; in sec_name()
773 sechdr->sh_name; in sech_name()
/linux-4.4.14/arch/sh/kernel/
Ddwarf.c1105 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c336 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
/linux-4.4.14/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.4.14/tools/lib/bpf/
Dlibbpf.c517 name = elf_strptr(elf, ep->e_shstrndx, sh.sh_name); in bpf_object__elf_collect()