Home
last modified time | relevance | path

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

/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()
/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()
/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.c369 char *secstrings, in module_frob_arch_sections() argument
377 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
379 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) in module_frob_arch_sections()
381 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
386 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
/arch/x86/kernel/
Dmodule.c231 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
234 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
236 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
238 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
240 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
/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()
/arch/arm/kernel/
Dmodule-plts.c133 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
143 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()
/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()
/arch/x86/entry/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()
/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()
/arch/arm64/kernel/
Dmodule-plts.c150 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
161 if (strcmp(".plt", secstrings + sechdrs[i].sh_name) == 0) in module_frob_arch_sections()
/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()
458 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/arch/s390/kernel/
Dmodule.c111 char *secstrings, struct module *me) in module_frob_arch_sections() argument
446 char *secstrings, *secname; in module_finalize() local
466 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
469 secname = secstrings + s->sh_name; in module_finalize()
/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()
/arch/avr32/kernel/
Dmodule.c61 char *secstrings, struct module *module) in module_frob_arch_sections() argument
/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()
/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()