Home
last modified time | relevance | path

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

12

/Linux-v4.19/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()
/Linux-v4.19/arch/powerpc/kernel/
Dmodule_32.c101 const char *secstrings, in get_plt_size() argument
112 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size()
117 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) 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.c345 char *secstrings, in module_frob_arch_sections() argument
353 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
355 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
360 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
363 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".opd")) { in module_frob_arch_sections()
370 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
/Linux-v4.19/arch/x86/kernel/
Dmodule.c232 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
235 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
237 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
239 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
241 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
243 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize()
245 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
Dlivepatch.c43 cnt = sscanf(info->secstrings + s->sh_name, in arch_klp_init_object_loaded()
/Linux-v4.19/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()
/Linux-v4.19/arch/arm64/kernel/
Dmodule-plts.c200 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
213 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
215 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
218 !strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
249 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
/Linux-v4.19/arch/riscv/kernel/
Dmodule-sections.c88 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
98 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
100 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
102 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt")) in module_frob_arch_sections()
/Linux-v4.19/lib/
Dbug.c90 char *secstrings; in module_bug_finalize() local
99 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
101 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
/Linux-v4.19/arch/arm/kernel/
Dmodule-plts.c192 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
204 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
206 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections()
236 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
/Linux-v4.19/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.c447 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local
454 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.h21 const char *secstrings; in BITSFUNC() local
71 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
78 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
/Linux-v4.19/kernel/
Dmodule-internal.h22 char *secstrings, *strtab; member
Dmodule.c353 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()
1515 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
2068 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); in copy_module_elf()
2069 if (mod->klp_info->secstrings == NULL) { in copy_module_elf()
2099 kfree(mod->klp_info->secstrings); in free_module_elf()
2380 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2413 const char *sname = info->secstrings + s->sh_name; in layout_sections()
2576 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
2627 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab()
2652 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
[all …]
/Linux-v4.19/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()
/Linux-v4.19/arch/s390/kernel/
Dmodule.c103 char *secstrings, struct module *me) in module_frob_arch_sections() argument
438 char *secstrings, *secname; in module_finalize() local
458 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
461 secname = secstrings + s->sh_name; in module_finalize()
/Linux-v4.19/include/linux/
Dmoduleloader.h19 char *secstrings,
Dmodule.h325 char *secstrings; member
/Linux-v4.19/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()
/Linux-v4.19/arch/nds32/kernel/
Dmodule.c24 char *secstrings, struct module *mod) in module_frob_arch_sections() argument
/Linux-v4.19/arch/sh/kernel/
Ddwarf.c1096 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_dwarf_finalize() local
1103 && !strcmp(secstrings+sechdrs[i].sh_name, ".eh_frame")) { in module_dwarf_finalize()
/Linux-v4.19/arch/parisc/kernel/
Dmodule.c321 CONST char *secstrings, in module_frob_arch_sections() argument
337 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
/Linux-v4.19/scripts/mod/
Dmodpost.c426 const char *secstrings; in parse_elf() local
508 secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; in parse_elf()
520 secname = secstrings + sechdrs[i].sh_name; in parse_elf()

12