/openbmc/u-boot/tools/ |
H A D | mips-relocs.c | 199 const char *shstrtab, *sh_name, *rel_pfx; in main() local 292 sh_name = shstr(shdr_field(i, sh_name)); in main() 294 if (!strcmp(sh_name, ".data.reloc")) { in main() 299 if (!strcmp(sh_name, ".text")) { in main() 322 sh_name = shstr(shdr_field(i, sh_name)); in main() 323 if (strncmp(sh_name, rel_pfx, strlen(rel_pfx))) { in main() 324 if (strcmp(sh_name, ".rel") && strcmp(sh_name, ".rel.dyn")) in main() 325 fprintf(stderr, "WARNING: Unexpected reloc section name '%s'\n", sh_name); in main() 337 if (strcmp(&sh_name[strlen(rel_pfx) - 1], shstr(shdr_field(j, sh_name)))) in main()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | module.c | 285 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 287 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 289 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 291 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 293 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 295 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 297 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize() 299 if (!strcmp(".call_sites", secstrings + s->sh_name)) in module_finalize() 301 if (!strcmp(".cfi_sites", secstrings + s->sh_name)) in module_finalize() 303 if (!strcmp(".ibt_endbr_seal", secstrings + s->sh_name)) in module_finalize()
|
/openbmc/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()
|
/openbmc/linux/tools/perf/util/ |
H A D | genelf.c | 196 shdr->sh_name = 104; in jit_add_eh_frame_info() 230 shdr->sh_name = 90; in jit_add_eh_frame_info() 332 shdr->sh_name = 1; in jit_write_elf() 379 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf() 415 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf() 458 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf() 500 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()
|
/openbmc/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()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module-sections.c | 114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got")) in module_frob_arch_sections() 116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx")) in module_frob_arch_sections() 120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline")) in module_frob_arch_sections()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | module_32.c | 86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL) in get_plt_size() 91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug")) in get_plt_size() 129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0) in module_frob_arch_sections() 131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
|
H A D | module_64.c | 412 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 415 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0) in module_frob_arch_sections() 417 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) { in module_frob_arch_sections() 423 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 428 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections()
|
H A D | module.c | 31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
/openbmc/linux/arch/riscv/kernel/ |
H 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()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module-plts.c | 295 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 297 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 299 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 336 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/openbmc/openbmc/poky/scripts/ |
H A D | relocate_sdk.py | 138 sh_name, sh_type, sh_flags, sh_addr, sh_offset, sh_size, sh_link,\ 141 name = sh_strtab[sh_name:sh_strtab.find(b("\0"), sh_name)]
|
/openbmc/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() 254 if (!module_init_layout_section(secstrings + dstsec->sh_name)) in module_frob_arch_sections()
|
/openbmc/linux/tools/objtool/ |
H A D | orc_dump.c | 129 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 189 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
|
/openbmc/linux/arch/sparc/kernel/ |
H 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()
|
/openbmc/linux/arch/ia64/kernel/ |
H 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()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | module.h | 62 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
/openbmc/linux/arch/x86/entry/vdso/ |
H 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()
|
/openbmc/linux/kernel/module/ |
H A D | strict_rwx.c | 74 mod->name, secstrings + sechdrs[i].sh_name, i); in module_enforce_rwx_sections()
|
H A D | kallsyms.c | 71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type() 126 pr_debug("\t%s\n", info->secstrings + symsect->sh_name); in layout_symtab() 153 pr_debug("\t%s\n", info->secstrings + strsect->sh_name); in layout_symtab()
|
/openbmc/linux/kernel/ |
H A D | cfi.c | 60 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps")) in module_cfi_finalize()
|
/openbmc/linux/include/uapi/linux/ |
H A D | elf.h | 309 Elf32_Word sh_name; member 322 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | module.h | 123 if (strcmp(name, secstrs + s->sh_name) == 0) in find_section()
|
/openbmc/u-boot/include/ |
H A D | elf.h | 231 Elf32_Word sh_name; /* name - index into section header member 245 Elf64_Word sh_name; /* name - index into section header member
|