Home
last modified time | relevance | path

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

1234

/third_party/elfutils/tests/
Dupdate4.c297 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main()
298 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main()
299 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main()
300 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main()
301 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
Daddsections.c142 size_t shstrtab_idx = shdr->sh_name; in add_sections()
143 shdr->sh_name = old_shstrtab_idx; in add_sections()
212 shdr->sh_name = extra_idx; in add_sections()
259 shdr->sh_name = shstrtab_idx; in add_sections()
Dfillfile.c95 shdr->sh_name = add_strtab_entry (scn, ".strtab"); in create_strtab()
156 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section()
308 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
380 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
Dasm-tst1.c178 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
182 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst2.c194 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
198 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Ddwflsyms.c94 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name); in elf_section_name()
195 shdr->sh_name); in list_syms()
Demptyfile.c176 shdr->sh_name = add_string (scn, ".strtab"); in check_elf()
248 const char *sname = elf_strptr (elf, shstrndx, shdr->sh_name); in check_elf()
Dasm-tst3.c194 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
198 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst9.c228 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
232 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dalldts.c218 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (dynscn); in main()
219 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
Delfstrmerge.c315 if (shdr->sh_name != 0 && scnnum != shdrstrndx) in main()
317 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in main()
474 newshdr.sh_name = (shdr->sh_name != 0 in main()
Dscnnames.c79 name = elf_strptr (elf, strndx, (size_t) shdr.sh_name); in main()
/third_party/elfutils/backends/
Ds390_symbol.c74 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in s390_check_special_symbol()
85 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in s390_check_special_symbol()
Daarch64_symbol.c77 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in aarch64_check_special_symbol()
88 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
Dppc64_symbol.c106 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in ppc64_check_special_symbol()
/third_party/elfutils/libasm/
Dasm_end.c306 shdr->sh_name = dwelf_strent_off (shstrscn_strent); in binary_end()
365 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end()
387 shdr->sh_name = dwelf_strent_off (symscn_strent); in binary_end()
398 shdr->sh_name = dwelf_strent_off (strscn_strent); in binary_end()
410 shdr->sh_name = dwelf_strent_off (xndxscn_strent); in binary_end()
424 shdr->sh_name = dwelf_strent_off (asmscn->data.main.strent); in binary_end()
/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c440 sec_hdr[1].sh_name = (uintptr_t)((struct ac_rgp_elf_string_table*)0)->strtab; in ac_rgp_file_write_elf_object()
446 sec_hdr[2].sh_name = (uintptr_t)((struct ac_rgp_elf_string_table*)0)->text; in ac_rgp_file_write_elf_object()
453 sec_hdr[3].sh_name = (uintptr_t)((struct ac_rgp_elf_string_table*)0)->symtab; in ac_rgp_file_write_elf_object()
462 sec_hdr[4].sh_name = (uintptr_t)((struct ac_rgp_elf_string_table*)0)->note; in ac_rgp_file_write_elf_object()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceELFSection.h72 void setNameStrIndex(Elf64_Word sh_name) { Header.sh_name = sh_name; } in setNameStrIndex() argument
317 Str.writeELFWord<IsELF64>(Header.sh_name); in writeHeader()
/third_party/elfutils/src/
Delfcompress.c440 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
669 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
884 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1018 shdr->sh_name = dwelf_strent_off (scnstrents[shdrstrndx]); in process_file()
1060 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1133 shdr->sh_name = dwelf_strent_off (scnstrents[ndx]); in process_file()
1201 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
Dobjdump.c382 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x()
448 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in section_match()
499 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs()
566 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content()
708 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_disasm()
Dsize.c409 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in show_sysv()
440 maxlen, elf_strptr (elf, shstrndx, shdr->sh_name), in show_sysv()
492 shdr->sh_size, elf_strptr (elf, shstrndx, shdr->sh_name)); in show_sysv_one_line()
/third_party/elfutils/libelf/
Delf32_getshdr.c138 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
187 CONVERT (shdr[cnt].sh_name); in ElfW2()
Dgelf_getshdr.c70 COPY (sh_name); in gelf_getshdr()
/third_party/elfutils/libebl/
Deblsectionstripp.c60 shdr_l->sh_name); in ebl_section_strip_p()
/third_party/elfutils/libdwfl/
Drelocate.c68 const char *name = elf_strptr (elf, *shstrndx, refshdr->sh_name); in __libdwfl_relocate_value()
237 shdr->sh_name); in resolve_symbol()
514 const char *tname = elf_strptr (relocated, shstrndx, tshdr->sh_name); in relocate_section()
540 const char *sname = elf_strptr (relocated, shstrndx, shdr->sh_name); in relocate_section()

1234