/arch/hexagon/kernel/ |
D | module.c | 28 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/ |
D | module.c | 282 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 285 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 287 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 289 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 291 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 293 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 295 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 297 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize() 299 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize() 301 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize() [all …]
|
/arch/powerpc/kernel/ |
D | module_32.c | 75 const char *secstrings, in get_plt_size() argument 86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 122 char *secstrings, in module_frob_arch_sections() argument 129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections() 141 = get_plt_size(hdr, sechdrs, secstrings, 0); in module_frob_arch_sections() 143 = get_plt_size(hdr, sechdrs, secstrings, 1); in module_frob_arch_sections()
|
D | module.c | 26 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()
|
D | module_64.c | 405 char *secstrings, in module_frob_arch_sections() argument 412 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 415 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections() 417 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections() 423 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 428 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
|
/arch/loongarch/kernel/ |
D | module-sections.c | 105 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections() 120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
|
/arch/sparc/kernel/ |
D | module.c | 57 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/ |
D | module-sections.c | 91 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/ |
D | vdso2c.h | 65 const char *secstrings; in BITSFUNC() local 115 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC() 122 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC() 125 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table")) in BITSFUNC()
|
/arch/arm64/kernel/ |
D | module-plts.c | 282 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 295 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 297 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 299 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 336 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/arch/arm/kernel/ |
D | module-plts.c | 210 char *secstrings, struct module *mod) in module_frob_arch_sections() argument 222 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 224 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 254 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/arch/mips/kernel/ |
D | vpe.c | 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() argument 479 const char *secstrings, in simplify_symbols() argument 489 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) { in simplify_symbols() 580 char *secstrings, *strtab = NULL; in vpe_elfload() local 612 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in vpe_elfload() 640 layout_sections(&mod, hdr, sechdrs, secstrings); in vpe_elfload() 665 secstrings + sechdrs[i].sh_name, in vpe_elfload() 670 simplify_symbols(sechdrs, symindex, strtab, secstrings, in vpe_elfload()
|
D | module.c | 430 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() local 437 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0) in module_finalize()
|
/arch/ia64/kernel/ |
D | module.c | 423 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/ |
D | module.c | 65 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/ |
D | module.c | 143 char *secstrings, struct module *me) in module_frob_arch_sections() argument 532 char *secstrings, *secname; in module_finalize() local 549 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 552 secname = secstrings + s->sh_name; in module_finalize()
|
/arch/parisc/kernel/ |
D | module.c | 281 CONST char *secstrings, in module_frob_arch_sections() argument 298 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 847 char *secstrings; in module_finalize() local 923 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize() 926 char *secname = secstrings + s->sh_name; in module_finalize()
|
/arch/sh/kernel/ |
D | dwarf.c | 1094 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()
|