Home
last modified time | relevance | path

Searched refs:sh_name (Results 1 – 25 of 45) sorted by relevance

12

/linux/arch/hexagon/kernel/
H A Dmodule.c37 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/
H A Dgenelf.c112 shdr->sh_name = 104; in jit_add_eh_frame_info()
146 shdr->sh_name = 90; in jit_add_eh_frame_info()
268 shdr->sh_name = 1; in jit_write_elf()
318 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf()
354 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf()
399 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf()
443 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
H A Dgenelf_debug.c538 shdr->sh_name = 52; /* .debug_line */ in jit_add_debug_info()
572 shdr->sh_name = 64; /* .debug_info */ in jit_add_debug_info()
606 shdr->sh_name = 76; /* .debug_info */ in jit_add_debug_info()
/linux/arch/arc/kernel/
H A Dmodule.c67 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/loongarch/kernel/
H A Dmodule-sections.c113 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections()
115 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
117 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections()
119 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
H A Dmodule.c613 if (!strcmp(".altinstructions", secstrs + s->sh_name)) in module_finalize()
615 if (!strcmp(".orc_unwind", secstrs + s->sh_name)) in module_finalize()
617 if (!strcmp(".orc_unwind_ip", secstrs + s->sh_name)) in module_finalize()
619 if (!strcmp(".ftrace_trampoline", secstrs + s->sh_name)) in module_finalize()
/linux/arch/arm64/kernel/
H A Dmodule-plts.c294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections()
296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections()
298 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
301 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections()
338 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
/linux/arch/arm/kernel/
H A Dmodule-plts.c222 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()
230 (strncmp(".ARM.extab", secstrings + s->sh_name, 10) == 0)) { in module_frob_arch_sections()
266 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
H A Dmodule.c405 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
427 const char *secname = secstrs + s->sh_name; in module_finalize()
H A Dvdso.c102 if (strcmp(secnames + sechdrs[i].sh_name, name) == 0) { in find_section()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dfw.c81 shdr->sh_name = le32_to_cpu(p->sh_name); in mm81x_fw_get_section_header()
173 if (!strncmp(sh_strs + shdr.sh_name, ".fw_info", in mm81x_fw_load_fw()
244 if (strcmp(sh_strs + shdr.sh_name, ".board_config")) in mm81x_fw_load_bcf()
267 if (strncmp(sh_strs + shdr.sh_name, reg_prefix, reg_prefix_len)) in mm81x_fw_load_bcf()
269 if (strncmp(sh_strs + shdr.sh_name + reg_prefix_len, in mm81x_fw_load_bcf()
276 sh_strs + shdr.sh_name, bcf_address, in mm81x_fw_load_bcf()
H A Dfw.h43 __le32 sh_name; member
/linux/arch/powerpc/kernel/
H A Dmodule_64.c251 if (!strcmp(secstrings + sechdrs[i].sh_name, "__patchable_function_entries")) { in get_stubs_size()
439 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections()
442 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections()
444 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections()
450 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections()
454 } else if (strcmp(secstrings + sechdrs[i].sh_name, "__versions") == 0) in module_frob_arch_sections()
457 else if (strcmp(secstrings + sechdrs[i].sh_name, "__version_ext_names") == 0) in module_frob_arch_sections()
H A Dmodule.c28 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
/linux/arch/s390/include/asm/
H A Dmodule.h49 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux/arch/arm64/include/asm/
H A Dmodule.h62 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux/tools/objtool/
H A Delf.c404 sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name); in read_sections()
1345 null->sh.sh_name = elf_add_string(elf, shstrtab, null->name); in elf_create_file()
1346 shstrtab->sh.sh_name = elf_add_string(elf, shstrtab, shstrtab->name); in elf_create_file()
1347 strtab->sh.sh_name = elf_add_string(elf, shstrtab, strtab->name); in elf_create_file()
1349 if (null->sh.sh_name == -1 || shstrtab->sh.sh_name == -1 || strtab->sh.sh_name == -1) in elf_create_file()
1528 sec->sh.sh_name = elf_add_string(elf, shstrtab, sec->name); in elf_alloc_reloc()
1529 if (sec->sh.sh_name == -1) in elf_alloc_reloc()
/linux/kernel/
H A Dcfi.c77 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
/linux/arch/riscv/include/asm/
H A Dmodule.h123 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
/linux/arch/arm64/kernel/pi/
H A Drelacheck.c100 if (strstr(strtab + swab_elfword(shdr[info].sh_name), in main()
/linux/arch/mips/vdso/
H A Dgenvdso.h24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
/linux/scripts/
H A Drecordmcount.h307 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/
H A Drelocs.c99 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()
280 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
/linux/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32) in ELF_GEN_FIELD_GET_SET()
/linux/lib/
H A Dbug.c97 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()

12