Home
last modified time | relevance | path

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

1234

/external/u-boot/tools/
Dmips-relocs.c199 const char *shstrtab, *sh_name, *rel_pfx; in main() local
296 sh_name = shstr(shdr_field(i, sh_name)); in main()
298 if (!strcmp(sh_name, ".rel")) { in main()
303 if (!strcmp(sh_name, ".text")) { in main()
326 sh_name = shstr(shdr_field(i, sh_name)); in main()
327 if (strncmp(sh_name, rel_pfx, strlen(rel_pfx))) { in main()
328 if (strcmp(sh_name, ".rel") && strcmp(sh_name, ".rel.dyn")) in main()
329 fprintf(stderr, "WARNING: Unexpected reloc section name '%s'\n", sh_name); in main()
341 if (strcmp(&sh_name[strlen(rel_pfx) - 1], shstr(shdr_field(j, sh_name)))) in main()
/external/elfutils/tests/
Daddsections.c142 size_t shstrtab_idx = shdr->sh_name; in add_sections()
143 shdr->sh_name = old_shstrtab_idx; in add_sections()
193 shdr->sh_name = extra_idx; in add_sections()
240 shdr->sh_name = shstrtab_idx; in add_sections()
Dupdate4.c296 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main()
297 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main()
298 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main()
299 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main()
300 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
Dfillfile.c94 shdr->sh_name = add_strtab_entry (scn, ".strtab"); in create_strtab()
155 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section()
307 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
379 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
Dasm-tst1.c177 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
181 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst2.c193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dasm-tst3.c193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Demptyfile.c175 shdr->sh_name = add_string (scn, ".strtab"); in check_elf()
247 const char *sname = elf_strptr (elf, shstrndx, shdr->sh_name); in check_elf()
Ddwflsyms.c94 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name); in elf_section_name()
195 shdr->sh_name); in list_syms()
Dasm-tst9.c227 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
231 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
Dalldts.c216 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (dynscn); in main()
217 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
Delfstrmerge.c274 if (shdr->sh_name != 0 && scnnum != shdrstrndx) in main()
276 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in main()
456 newshdr.sh_name = (shdr->sh_name != 0 in main()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc242 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
253 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
317 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST()
328 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST()
339 EXPECT_EQ(sizeof("\0.text"), shdr[2].sh_name); in TYPED_TEST()
350 EXPECT_EQ(sizeof("\0.text\0.bss"), shdr[3].sh_name); in TYPED_TEST()
/external/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.c75 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in aarch64_check_special_symbol()
86 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
/external/elfutils/libasm/
Dasm_end.c309 shdr->sh_name = dwelf_strent_off (shstrscn_strent); in binary_end()
368 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end()
390 shdr->sh_name = dwelf_strent_off (symscn_strent); in binary_end()
401 shdr->sh_name = dwelf_strent_off (strscn_strent); in binary_end()
413 shdr->sh_name = dwelf_strent_off (xndxscn_strent); in binary_end()
427 shdr->sh_name = dwelf_strent_off (asmscn->data.main.strent); in binary_end()
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump56 self.sh_name = f.read32()
68 … print " (('sh_name', %s)" % common_dump.HexDump(self.sh_name), "# %r" % shstrtab[self.sh_name[0]]
200 if shstrtab[section.sh_name[0]] == ".strtab":
/external/swiftshader/third_party/LLVM/test/MC/ELF/
Dentsize.ll23 ; 64: (('sh_name', 0x0000004e) # '.rodata.str1.1'
34 ; 64: (('sh_name', 0x00000041) # '.rodata.cst8'
/external/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()
/external/elfutils/src/
Delfcompress.c470 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
701 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
898 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1026 shdr->sh_name = dwelf_strent_off (scnstrents[shdrstrndx]); in process_file()
1068 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
1141 shdr->sh_name = dwelf_strent_off (scnstrents[ndx]); in process_file()
1209 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
Dobjdump.c383 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x()
449 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in section_match()
500 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs()
567 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content()
709 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_disasm()
/external/elfutils/libelf/
Delf32_getshdr.c140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
189 CONVERT (shdr[cnt].sh_name); in ElfW2()
/external/perf_data_converter/src/quipper/
Ddso_test_utils.cc114 section_header.sh_name = string_table.Add(section_name); in WriteElfWithMultipleBuildids()
140 section_header.sh_name = string_table.Add(".shstrtab"); in WriteElfWithMultipleBuildids()
Ddso.cc44 char *n = elf_strptr(elf, shstrndx, shdr.sh_name); in FindElfSection()
46 LOG(ERROR) << "Couldn't get string: " << shdr.sh_name << " " << shstrndx; in FindElfSection()
/external/elfutils/libebl/
Deblsectionstripp.c60 shdr_l->sh_name); in ebl_section_strip_p()

1234