/linux/arch/x86/kernel/ |
A D | module.c | 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()
|
A D | machine_kexec_64.c | 419 shstrtab + relsec->sh_name, relsec->sh_info); in arch_kexec_apply_relocations_add() 452 name = shstrtab + sechdrs[sym->st_shndx].sh_name; in arch_kexec_apply_relocations_add()
|
/linux/arch/hexagon/kernel/ |
A 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/tools/perf/util/ |
A D | genelf.c | 190 shdr->sh_name = 104; in jit_add_eh_frame_info() 224 shdr->sh_name = 90; in jit_add_eh_frame_info() 312 shdr->sh_name = 1; in jit_write_elf() 358 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf() 394 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf() 437 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf() 479 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
|
A 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/arch/arc/kernel/ |
A 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/arch/powerpc/kernel/ |
A D | module_32.c | 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() 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()
|
A D | module_64.c | 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()
|
A D | module.c | 31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
/linux/arch/riscv/kernel/ |
A 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/arch/arm64/kernel/ |
A D | module-plts.c | 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/arm/kernel/ |
A D | module-plts.c | 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()
|
A D | module.c | 356 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 378 const char *secname = secstrs + s->sh_name; in module_finalize()
|
A D | vdso.c | 117 if (strcmp(secnames + sechdrs[i].sh_name, name) == 0) { in find_section()
|
/linux/tools/objtool/ |
A D | orc_dump.c | 119 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 179 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
|
/linux/arch/sparc/kernel/ |
A 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/arch/ia64/kernel/ |
A 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/arch/x86/entry/vdso/ |
A D | vdso2c.h | 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/include/uapi/linux/ |
A D | elf.h | 305 Elf32_Word sh_name; member 318 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
/linux/arch/sparc/vdso/ |
A 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/scripts/ |
A D | recordmcount.h | 307 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func() 321 mcsec.sh_name = w(old_shstr_sh_size); in append_func() 560 char const *const txtname = &shstrtab[w(txthdr->sh_name)]; in __has_rel_mcount()
|
/linux/arch/mips/boot/tools/ |
A 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/arch/mips/vdso/ |
A D | genvdso.h | 24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
|
/linux/lib/ |
A D | bug.c | 100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|
/linux/drivers/remoteproc/ |
A D | remoteproc_elf_helpers.h | 84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32) in ELF_GEN_FIELD_GET_SET()
|