Home
last modified time | relevance | path

Searched refs:secstrings (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/arch/metag/kernel/
Dmodule.c87 const char *secstrings, in get_plt_size() argument
98 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()
134 char *secstrings, in module_frob_arch_sections() argument
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()
153 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections()
156 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
/linux-4.1.27/arch/powerpc/kernel/
Dmodule_32.c101 const char *secstrings, in get_plt_size() argument
112 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()
148 char *secstrings, in module_frob_arch_sections() argument
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()
167 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections()
169 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
Dmodule.c36 char *secstrings; in find_section() local
39 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
41 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
Dmodule_64.c363 char *secstrings, in module_frob_arch_sections() argument
371 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()
/linux-4.1.27/arch/hexagon/kernel/
Dmodule.c41 char *secstrings, in module_frob_arch_sections() argument
50 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.c216 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
219 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()
/linux-4.1.27/lib/
Dbug.c88 char *secstrings; in module_bug_finalize() local
95 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
97 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux-4.1.27/arch/sparc/kernel/
Dmodule.c56 char *secstrings, in module_frob_arch_sections() argument
187 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections() local
190 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.c22 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
35 const char *shname = secstrings + s->sh_name; in module_frob_arch_sections()
238 char *secstrings; in module_finalize() local
241 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
254 const char *shname = secstrings + sechdrs[i].sh_name; in module_finalize()
/linux-4.1.27/arch/mips/kernel/
Dvpe.c183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() argument
480 const char *secstrings, in simplify_symbols() argument
490 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) { in simplify_symbols()
581 char *secstrings, *strtab = NULL; in vpe_elfload() local
613 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in vpe_elfload()
641 layout_sections(&mod, hdr, sechdrs, secstrings); in vpe_elfload()
666 secstrings + sechdrs[i].sh_name, in vpe_elfload()
671 simplify_symbols(sechdrs, symindex, strtab, secstrings, in vpe_elfload()
Dmodule.c275 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
282 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h20 const char *secstrings; in BITSFUNC() local
64 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
71 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
/linux-4.1.27/arch/ia64/kernel/
Dmodule.c421 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, in module_frob_arch_sections() argument
432 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/include/linux/
Dmoduleloader.h18 char *secstrings,
/linux-4.1.27/arch/alpha/kernel/
Dmodule.c77 char *secstrings, struct module *me) in module_frob_arch_sections() argument
93 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
/linux-4.1.27/kernel/
Dmodule.c176 char *secstrings, *strtab; member
229 && 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()
2665 info->secstrings = (void *)info->hdr in setup_load_info()
[all …]
/linux-4.1.27/arch/avr32/kernel/
Dmodule.c61 char *secstrings, struct module *module) in module_frob_arch_sections() argument
/linux-4.1.27/arch/sh/kernel/
Ddwarf.c1098 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize() local
1105 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
/linux-4.1.27/arch/parisc/kernel/
Dmodule.c320 CONST char *secstrings, in module_frob_arch_sections() argument
336 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
/linux-4.1.27/arch/s390/kernel/
Dmodule.c108 char *secstrings, struct module *me) in module_frob_arch_sections() argument
/linux-4.1.27/scripts/mod/
Dmodpost.c411 const char *secstrings; in parse_elf() local
493 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf()
505 secname = secstrings + sechdrs[i].sh_name; in parse_elf()