Home
last modified time | relevance | path

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

/arch/hexagon/kernel/
Dmodule.c28 char *secstrings, in module_frob_arch_sections() argument
37 secstrings + sechdrs[i].sh_name); in module_frob_arch_sections()
38 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
40 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections()
42 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
/arch/x86/kernel/
Dmodule.c257 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
260 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
262 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
264 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
266 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
268 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
270 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
272 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
274 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
/arch/powerpc/kernel/
Dmodule_32.c74 const char *secstrings, in get_plt_size() argument
85 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
90 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size()
121 char *secstrings, in module_frob_arch_sections() argument
128 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections()
130 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
140 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections()
142 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
Dmodule.c26 char *secstrings; in find_section() local
29 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
Dmodule_64.c282 char *secstrings, in module_frob_arch_sections() argument
290 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
292 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
297 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
302 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
/arch/sparc/kernel/
Dmodule.c57 char *secstrings, in module_frob_arch_sections() argument
188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections() local
191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name)) in do_patch_sections()
193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name)) in do_patch_sections()
/arch/riscv/kernel/
Dmodule-sections.c91 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
/arch/x86/entry/vdso/
Dvdso2c.h55 const char *secstrings; in BITSFUNC() local
105 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
112 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
115 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table")) in BITSFUNC()
/arch/arm64/kernel/
Dmodule-plts.c292 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
305 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
307 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
309 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
346 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/arch/arm/kernel/
Dmodule-plts.c215 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
227 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
229 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
259 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/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.c429 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
436 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
/arch/ia64/kernel/
Dmodule.c423 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, in module_frob_arch_sections() argument
434 if (strcmp(".core.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
436 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
438 else if (strcmp(".got", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
440 else if (strcmp(".opd", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
442 else if (strcmp(".IA_64.unwind", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
460 if (strstr(secstrings + s->sh_name, ".init")) in module_frob_arch_sections()
/arch/alpha/kernel/
Dmodule.c65 char *secstrings, struct module *me) in module_frob_arch_sections() argument
81 else if (!strcmp(".got", secstrings + s->sh_name)) { in module_frob_arch_sections()
/arch/s390/kernel/
Dmodule.c122 char *secstrings, struct module *me) in module_frob_arch_sections() argument
508 char *secstrings, *secname; in module_finalize() local
531 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
534 secname = secstrings + s->sh_name; in module_finalize()
/arch/parisc/kernel/
Dmodule.c300 CONST char *secstrings, in module_frob_arch_sections() argument
316 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
864 char *secstrings; in module_finalize() local
940 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
943 char *secname = secstrings + s->sh_name; in module_finalize()
/arch/nds32/kernel/
Dmodule.c24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
/arch/sh/kernel/
Ddwarf.c1094 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize() local
1101 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()