| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mips-relocs.c | 200 const char *shstrtab, *sh_name, *rel_pfx; in main() local 297 sh_name = shstr(shdr_field(i, sh_name)); in main() 299 if (!strcmp(sh_name, ".rel")) { in main() 304 if (!strcmp(sh_name, ".text")) { in main() 327 sh_name = shstr(shdr_field(i, sh_name)); in main() 328 if (strncmp(sh_name, rel_pfx, strlen(rel_pfx))) { in main() 329 if (strcmp(sh_name, ".rel") && strcmp(sh_name, ".rel.dyn")) in main() 330 fprintf(stderr, "WARNING: Unexpected reloc section name '%s'\n", sh_name); in main() 342 if (strcmp(&sh_name[strlen(rel_pfx) - 1], shstr(shdr_field(j, sh_name)))) in main()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | module.c | 263 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize() 265 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize() 267 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize() 269 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize() 271 if (!strcmp(".orc_unwind", secstrings + s->sh_name)) in module_finalize() 273 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name)) in module_finalize() 275 if (!strcmp(".retpoline_sites", secstrings + s->sh_name)) in module_finalize() 277 if (!strcmp(".return_sites", secstrings + s->sh_name)) in module_finalize()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | genelf.c | 194 shdr->sh_name = 104; in jit_add_eh_frame_info() 228 shdr->sh_name = 90; in jit_add_eh_frame_info() 330 shdr->sh_name = 1; in jit_write_elf() 376 shdr->sh_name = 7; /* offset of '.shstrtab' in shd_string_table */ in jit_write_elf() 412 shdr->sh_name = 17; /* offset of '.symtab' in shd_string_table */ in jit_write_elf() 455 shdr->sh_name = 25; /* offset in shd_string_table */ in jit_write_elf() 497 shdr->sh_name = 33; /* offset in shd_string_table */ in jit_write_elf()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | module-plts.c | 306 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt")) in module_frob_arch_sections() 308 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt")) in module_frob_arch_sections() 310 else if (!strcmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 340 !strcmp(secstrings + dstsec->sh_name, ".rodata")) { in module_frob_arch_sections() 358 !strcmp(secstrings + dstsec->sh_name, ".text")) { in module_frob_arch_sections() 379 if (!str_has_prefix(secstrings + dstsec->sh_name, ".init")) in module_frob_arch_sections()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H 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()
|
| H A D | module_64.c | 298 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() 300 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) { in module_frob_arch_sections() 305 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0) in module_frob_arch_sections() 310 while ((p = strstr(secstrings + sechdrs[i].sh_name, ".init"))) in module_frob_arch_sections()
|
| H A D | module.c | 29 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/ |
| H A D | rk_minidump.c | 165 shdr->sh_name = set_section_name(mdr->name); in md_update_ss_toc() 347 shname = elf_lookup_string(hdr, shdr->sh_name); in rk_minidump_clear_headers() 368 (minidump_elfheader.strtable_idx - shdr->sh_name)); in rk_minidump_clear_headers() 389 shdr->sh_name -= strln; in rk_minidump_clear_headers() 537 shdr->sh_name = set_section_name("STR_TBL"); in rk_minidump_add_header() 545 shdr->sh_name = set_section_name("minidump_table"); in rk_minidump_add_header() 558 shdr->sh_name = set_section_name("linux_banner"); in rk_minidump_add_header()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/yocto/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)]
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H 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()
|
| H A D | module.c | 340 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section() 362 const char *secname = secstrs + s->sh_name; in module_finalize()
|
| /OK3568_Linux_fs/kernel/tools/objtool/ |
| H A D | orc_dump.c | 118 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump() 178 name = elf_strptr(elf, shstrtab_idx, sh.sh_name); in orc_dump()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | elf.h | 305 Elf32_Word sh_name; member 318 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | elf.h | 304 Elf32_Word sh_name; member 317 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | elf.h | 304 Elf32_Word sh_name; member 317 Elf64_Word sh_name; /* Section name, index in string tbl */ member
|
| /OK3568_Linux_fs/kernel/arch/sparc/vdso/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/arch/mips/boot/tools/ |
| H 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()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/ |
| H A D | elf32.h | 79 Elf32_Word sh_name; /* Section name (index into the member
|