/linux-4.1.27/arch/metag/kernel/ |
D | module.c | 87 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/ |
D | module_32.c | 101 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()
|
D | module.c | 36 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()
|
D | module_64.c | 363 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/ |
D | module.c | 41 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/ |
D | module.c | 216 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/ |
D | bug.c | 88 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/ |
D | module.c | 56 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/ |
D | module.c | 22 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/ |
D | vpe.c | 183 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()
|
D | module.c | 275 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/ |
D | vdso2c.h | 20 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/ |
D | module.c | 421 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/ |
D | moduleloader.h | 18 char *secstrings,
|
/linux-4.1.27/arch/alpha/kernel/ |
D | module.c | 77 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/ |
D | module.c | 176 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/ |
D | module.c | 61 char *secstrings, struct module *module) in module_frob_arch_sections() argument
|
/linux-4.1.27/arch/sh/kernel/ |
D | dwarf.c | 1098 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/ |
D | module.c | 320 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/ |
D | module.c | 108 char *secstrings, struct module *me) in module_frob_arch_sections() argument
|
/linux-4.1.27/scripts/mod/ |
D | modpost.c | 411 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()
|