Searched defs:secstrings (Results 1 - 17 of 17) sorted by relevance

/arch/powerpc/kernel/
H A Dmodule.c36 char *secstrings; local
39 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
41 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0)
H A Dmodule_32.c101 const char *secstrings,
112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != 0)
117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != 0)
148 char *secstrings,
155 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0)
157 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
167 = get_plt_size(hdr, sechdrs, secstrings, 0);
169 = get_plt_size(hdr, sechdrs, secstrings, 1);
99 get_plt_size(const Elf32_Ehdr *hdr, const Elf32_Shdr *sechdrs, const char *secstrings, int is_init) argument
146 module_frob_arch_sections(Elf32_Ehdr *hdr, Elf32_Shdr *sechdrs, char *secstrings, struct module *me) argument
H A Dmodule_64.c363 char *secstrings,
371 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0)
373 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0)
375 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0)
380 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init")))
361 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, char *secstrings, struct module *me) argument
/arch/x86/vdso/
H A Dvdso2c.h20 const char *secstrings; local
64 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset);
71 if (!strcmp(secstrings + GET_LE(&sh->sh_name),
/arch/blackfin/kernel/
H A Dmodule.c22 char *secstrings, struct module *mod)
35 const char *shname = secstrings + s->sh_name;
238 char *secstrings; local
241 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
254 const char *shname = secstrings + sechdrs[i].sh_name;
21 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/arch/hexagon/kernel/
H A Dmodule.c37 * @secstrings - symbol names
41 char *secstrings,
50 secstrings + sechdrs[i].sh_name);
51 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
53 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0)
55 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0)
40 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/arch/sparc/kernel/
H A Dmodule.c56 char *secstrings,
187 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
190 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name))
192 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name))
54 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/arch/alpha/kernel/
H A Dmodule.c77 char *secstrings, struct module *me)
93 else if (!strcmp(".got", secstrings + s->sh_name)) {
76 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, char *secstrings, struct module *me) argument
/arch/avr32/kernel/
H A Dmodule.c63 char *secstrings, struct module *module)
62 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *module) argument
/arch/metag/kernel/
H A Dmodule.c87 const char *secstrings,
98 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL)
103 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != NULL)
134 char *secstrings,
141 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0)
143 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
153 = get_plt_size(hdr, sechdrs, secstrings, 0);
156 = get_plt_size(hdr, sechdrs, secstrings, 1);
85 get_plt_size(const Elf32_Ehdr *hdr, const Elf32_Shdr *sechdrs, const char *secstrings, int is_init) argument
132 module_frob_arch_sections(Elf32_Ehdr *hdr, Elf32_Shdr *sechdrs, char *secstrings, struct module *me) argument
/arch/x86/kernel/
H A Dmodule.c213 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
216 if (!strcmp(".text", secstrings + s->sh_name))
218 if (!strcmp(".altinstructions", secstrings + s->sh_name))
220 if (!strcmp(".smp_locks", secstrings + s->sh_name))
222 if (!strcmp(".parainstructions", secstrings + s->sh_name))
/arch/mips/kernel/
H A Dmodule.c275 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
282 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0)
H A Dvpe.c183 Elf_Shdr *sechdrs, const char *secstrings)
480 const char *secstrings,
490 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) {
581 char *secstrings, *strtab = NULL; local
613 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
641 layout_sections(&mod, hdr, sechdrs, secstrings);
666 secstrings + sechdrs[i].sh_name,
671 simplify_symbols(sechdrs, symindex, strtab, secstrings,
182 layout_sections(struct module *mod, const Elf_Ehdr *hdr, Elf_Shdr *sechdrs, const char *secstrings) argument
477 simplify_symbols(Elf_Shdr *sechdrs, unsigned int symindex, const char *strtab, const char *secstrings, unsigned int nsecs, struct module *mod) argument
/arch/s390/kernel/
H A Dmodule.c118 char *secstrings, struct module *me)
117 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *me) argument
/arch/parisc/kernel/
H A Dmodule.c324 CONST char *secstrings,
340 if (strncmp(secstrings + sechdrs[i].sh_name,
322 module_frob_arch_sections(CONST Elf_Ehdr *hdr, CONST Elf_Shdr *sechdrs, CONST char *secstrings, struct module *me) argument
/arch/sh/kernel/
H A Ddwarf.c1094 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
1101 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) {
/arch/ia64/kernel/
H A Dmodule.c423 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, argument
434 if (strcmp(".core.plt", secstrings + s->sh_name) == 0)
436 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0)
438 else if (strcmp(".got", secstrings + s->sh_name) == 0)
440 else if (strcmp(".opd", secstrings + s->sh_name) == 0)
442 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0)
446 secstrings + s->sh_name) == 0)
449 secstrings + s->sh_name) == 0)
468 if (strstr(secstrings + s->sh_name, ".init"))

Completed in 529 milliseconds