| /linux/arch/hexagon/kernel/ |
| H 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/ |
| H A D | genelf.c | 112 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 D | genelf_debug.c | 538 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 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/loongarch/kernel/ |
| H A D | module-sections.c | 113 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 D | module.c | 613 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 D | module-plts.c | 294 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 D | module-plts.c | 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() 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 D | module.c | 405 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 D | vdso.c | 102 if (strcmp(secnames + sechdrs[i].sh_name, name) == 0) { in find_section()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | fw.c | 81 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 D | fw.h | 43 __le32 sh_name; member
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 251 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 D | module.c | 28 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
| /linux/arch/s390/include/asm/ |
| H A D | module.h | 49 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
| /linux/arch/arm64/include/asm/ |
| H A D | module.h | 62 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 404 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 D | cfi.c | 77 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
|
| /linux/arch/riscv/include/asm/ |
| H A D | module.h | 123 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | relacheck.c | 100 if (strstr(strtab + swab_elfword(shdr[info].sh_name), in main()
|
| /linux/arch/mips/vdso/ |
| H A D | genvdso.h | 24 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC()
|
| /linux/scripts/ |
| H 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/ |
| H A D | relocs.c | 99 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 D | remoteproc_elf_helpers.h | 84 ELF_GEN_FIELD_GET_SET(shdr, sh_name, u32) in ELF_GEN_FIELD_GET_SET()
|
| /linux/lib/ |
| H A D | bug.c | 97 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table")) in module_bug_finalize()
|