Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/kernel/
A 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()
A 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()
A 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()
/linux/arch/x86/kernel/
A Dmodule.c256 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
259 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
261 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
263 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
265 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
267 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
269 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
271 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize()
/linux/arch/hexagon/kernel/
A 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()
/linux/scripts/
A Dsorttable.h212 const char *secstrings; in do_sort() local
229 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset); in do_sort()
237 if (!strcmp(secstrings + idx, "__ex_table")) { in do_sort()
241 if (!strcmp(secstrings + idx, ".symtab")) in do_sort()
243 if (!strcmp(secstrings + idx, ".strtab")) in do_sort()
258 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) { in do_sort()
263 if (!strcmp(secstrings + idx, ".orc_unwind")) { in do_sort()
/linux/arch/sparc/kernel/
A 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()
/linux/arch/riscv/kernel/
A 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()
/linux/lib/
A Dbug.c91 char *secstrings; in module_bug_finalize() local
98 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/linux/arch/arm64/kernel/
A Dmodule-plts.c291 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
304 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
306 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
308 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
345 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
/linux/arch/x86/entry/vdso/
A 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()
/linux/arch/mips/kernel/
A 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()
A 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()
/linux/arch/arm/kernel/
A 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 (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
/linux/arch/ia64/kernel/
A 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()
/linux/kernel/
A Dmodule.c2036 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument
2044 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
2056 char *secstrings, struct module *mod) in module_enforce_rwx_sections() argument
2092 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf()
2093 if (mod->klp_info->secstrings == NULL) { in copy_module_elf()
2123 kfree(mod->klp_info->secstrings); in free_module_elf()
2374 info->secstrings, in apply_relocations()
2448 const char *sname = info->secstrings + s->sh_name; in layout_sections()
3534 char *secstrings, in module_frob_arch_sections() argument
3573 info->secstrings, info->mod); in layout_and_allocate()
[all …]
A Dmodule-internal.h18 char *secstrings, *strtab; member
/linux/arch/s390/kernel/
A Dmodule.c121 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()
/linux/arch/parisc/kernel/
A 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()
/linux/arch/alpha/kernel/
A 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()
/linux/include/linux/
A Dmoduleloader.h19 char *secstrings,
A Dmodule.h359 char *secstrings; member
/linux/arch/nds32/kernel/
A Dmodule.c24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
/linux/arch/sh/kernel/
A 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()
/linux/scripts/mod/
A Dmodpost.c480 const char *secstrings; in parse_elf() local
561 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf()
573 secname = secstrings + sechdrs[i].sh_name; in parse_elf()

Completed in 47 milliseconds

12