Home
last modified time | relevance | path

Searched refs:secname (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/arm/kernel/
Dmodule.c362 const char *secname = secstrs + s->sh_name; in module_finalize() local
367 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize()
369 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize()
371 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize()
373 else if (strcmp(".ARM.exidx.text.unlikely", secname) == 0) in module_finalize()
375 else if (strcmp(".ARM.exidx.text.hot", secname) == 0) in module_finalize()
377 else if (strcmp(".init.text", secname) == 0) in module_finalize()
379 else if (strcmp(".text", secname) == 0) in module_finalize()
381 else if (strcmp(".exit.text", secname) == 0) in module_finalize()
383 else if (strcmp(".text.unlikely", secname) == 0) in module_finalize()
[all …]
/Linux-v5.10/arch/s390/kernel/
Dmodule.c474 char *secstrings, *secname; in module_finalize() local
497 secname = secstrings + s->sh_name; in module_finalize()
499 if (!strcmp(".altinstructions", secname)) in module_finalize()
504 (str_has_prefix(secname, ".s390_indirect"))) in module_finalize()
508 (str_has_prefix(secname, ".s390_return"))) in module_finalize()
/Linux-v5.10/scripts/mod/
Dmodpost.c358 const char *secname = sec_name(elf, sec); in export_from_secname() local
360 if (strstarts(secname, "___ksymtab+")) in export_from_secname()
362 else if (strstarts(secname, "___ksymtab_unused+")) in export_from_secname()
364 else if (strstarts(secname, "___ksymtab_gpl+")) in export_from_secname()
366 else if (strstarts(secname, "___ksymtab_unused_gpl+")) in export_from_secname()
368 else if (strstarts(secname, "___ksymtab_gpl_future+")) in export_from_secname()
571 const char *secname; in parse_elf() local
581 secname = secstrings + sechdrs[i].sh_name; in parse_elf()
582 if (strcmp(secname, ".modinfo") == 0) { in parse_elf()
587 } else if (strcmp(secname, "__ksymtab") == 0) in parse_elf()
[all …]
/Linux-v5.10/arch/powerpc/kernel/
Dvdso.c231 static void * __init find_section32(Elf32_Ehdr *ehdr, const char *secname, in find_section32() argument
244 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section32()
336 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64() argument
349 if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) { in find_section64()
/Linux-v5.10/arch/parisc/kernel/
Dmodule.c943 char *secname = secstrings + s->sh_name; in module_finalize() local
945 if (!strcmp(".altinstructions", secname)) in module_finalize()
954 if (symindex != -1 && !strcmp(secname, FTRACE_CALLSITE_SECTION)) { in module_finalize()
/Linux-v5.10/arch/mips/boot/tools/
Drelocs.c108 static struct section *sec_lookup(const char *secname) in sec_lookup() argument
113 if (strcmp(secname, sec_name(i)) == 0) in sec_lookup()