/Linux-v5.4/arch/hexagon/kernel/ |
D | module.c | 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-v5.4/arch/x86/kernel/ |
D | module.c | 229 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 231 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 233 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 235 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 237 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 239 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize()
|
D | livepatch.c | 31 cnt = sscanf(info->secstrings + s->sh_name, in arch_klp_init_object_loaded()
|
D | machine_kexec_64.c | 514 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add() 547 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
|
/Linux-v5.4/tools/perf/util/ |
D | genelf.c | 195 shdr->sh_name = 104; in jit_add_eh_frame_info() 229 shdr->sh_name = 90; in jit_add_eh_frame_info() 317 shdr->sh_name = 1; in jit_write_elf() 363 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf() 399 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf() 442 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf() 484 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
|
D | genelf_debug.c | 527 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info() 561 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info() 595 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
|
/Linux-v5.4/arch/arc/kernel/ |
D | module.c | 67 module->arch.secstr + sechdrs[tgtsec].sh_name, tgt_addr); in apply_relocate_add() 86 s = module->arch.secstr + sechdrs[sym_entry->st_shndx].sh_name; in apply_relocate_add() 114 if (strcmp(module->arch.secstr+sechdrs[tgtsec].sh_name, ".eh_frame") == 0) in apply_relocate_add()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | module_32.c | 100 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 105 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 143 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 145 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
|
D | module_64.c | 348 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 350 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 355 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections() 360 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
|
D | module.c | 29 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
/Linux-v5.4/arch/riscv/kernel/ |
D | module-sections.c | 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-v5.4/arch/arm64/kernel/ |
D | module-plts.c | 269 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 271 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 274 !strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 305 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
|
D | module.c | 481 if (strcmp(".altinstructions", secstrs + s->sh_name) == 0) in module_finalize() 485 !strcmp(".text.ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
|
/Linux-v5.4/arch/arm/kernel/ |
D | module-plts.c | 201 if (strcmp(".plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 203 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0) in module_frob_arch_sections() 233 if (strncmp(secstrings + dstsec->sh_name, ".init", 5) != 0) in module_frob_arch_sections()
|
D | module.c | 334 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 356 const char *secname = secstrs + s->sh_name; in module_finalize()
|
/Linux-v5.4/tools/objtool/ |
D | orc_dump.c | 116 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 173 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | module.c | 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-v5.4/arch/ia64/kernel/ |
D | module.c | 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-v5.4/include/uapi/linux/ |
D | elf.h | 304 Elf32_Word sh_name; member 317 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
/Linux-v5.4/scripts/ |
D | recordmcount.h | 222 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func() 236 mcsec.sh_name = w(old_shstr_sh_size); in append_func() 474 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount()
|
/Linux-v5.4/arch/sparc/vdso/ |
D | vma.c | 78 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section64() 146 if (!strcmp(snames+shdrs[i].sh_name, name)) { in one_section32()
|
/Linux-v5.4/lib/ |
D | bug.c | 101 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/Linux-v5.4/arch/mips/vdso/ |
D | genvdso.h | 24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
|
/Linux-v5.4/arch/mips/boot/tools/ |
D | relocs.c | 98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name() 279 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
|
/Linux-v5.4/arch/x86/entry/vdso/ |
D | vdso2c.h | 78 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
|