/external/elfutils/libelf/ |
D | elf_getshdrstrndx.c | 103 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; in elf_getshdrstrndx() 129 + offset))->sh_link; in elf_getshdrstrndx() 148 CONVERT (shdr_mem.sh_link); in elf_getshdrstrndx() 149 num = shdr_mem.sh_link; in elf_getshdrstrndx() 164 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link; in elf_getshdrstrndx() 190 + offset))->sh_link; in elf_getshdrstrndx() 209 CONVERT (shdr_mem.sh_link); in elf_getshdrstrndx() 210 num = shdr_mem.sh_link; in elf_getshdrstrndx()
|
D | elf32_getshdr.c | 146 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2() 156 && shdr[cnt].sh_link < shnum) in ElfW2() 157 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2() 195 CONVERT (shdr[cnt].sh_link); in ElfW2()
|
D | gelf_getshdr.c | 76 COPY (sh_link); in gelf_getshdr()
|
D | gelf_update_shdr.c | 82 COPY (sh_link); in gelf_update_shdr()
|
/external/elfutils/tests/ |
D | update4.c | 134 shdr->sh_link = 0; in main() 170 shdr->sh_link = 0; in main() 206 shdr->sh_link = 0; in main() 242 shdr->sh_link = 0; in main() 279 shdr->sh_link = SHN_UNDEF; in main()
|
D | elfstrmerge.c | 218 size_t strtabndx = symtabshdr->sh_link; in main() 404 zshdr->sh_link = strtabndx; in main() 461 if (shdr->sh_link != 0) in main() 462 newshdr.sh_link = newsecndx (shdr->sh_link, "shdr", ndx, "sh_link", 0); in main() 464 newshdr.sh_link = 0; in main() 509 const bool update_name = shdr->sh_link == strtabndx; in main()
|
D | asm-tst3.c | 225 if (shdr->sh_link != 2) in main() 283 elf_strptr (elf, shdr->sh_link, in main()
|
D | alldts.c | 144 shdr->sh_link = SHN_UNDEF; in main() 199 shdr->sh_link = SHN_UNDEF; in main()
|
D | sectiondump.c | 109 shdr->sh_link, in handle_section()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 248 EXPECT_EQ(0U, shdr[0].sh_link); in TYPED_TEST() 259 EXPECT_EQ(0U, shdr[1].sh_link); in TYPED_TEST() 323 EXPECT_EQ(0U, shdr[0].sh_link); in TYPED_TEST() 334 EXPECT_EQ(0U, shdr[1].sh_link); in TYPED_TEST() 345 EXPECT_EQ(0U, shdr[2].sh_link); in TYPED_TEST() 356 EXPECT_EQ(0U, shdr[3].sh_link); in TYPED_TEST()
|
/external/elfutils/src/ |
D | elflint.c | 465 if (shdr != NULL && shdr->sh_link < shnum) in check_elf_header() 466 shstrndx = shdr->sh_link; in check_elf_header() 599 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab() 607 shdr->sh_link, section_name (ebl, shdr->sh_link), in check_symtab() 626 && xndxshdr->sh_link == (GElf_Word) idx) in check_symtab() 697 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name); in check_symtab() 1392 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_one_reloc() 1489 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela() 1540 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel() 1639 strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), &strshdr_mem); in check_dynamic() [all …]
|
D | findtextrel.c | 418 symscn = elf_getscn (elf, shdr->sh_link); in process_file() 423 (size_t) shdr->sh_link, fname, elf_errmsg (-1)); in process_file() 575 const char *lowstr = elf_strptr (elf, shdr->sh_link, in check_rel() 600 lowstr, elf_strptr (elf, shdr->sh_link, in check_rel() 612 elf_strptr (elf, shdr->sh_link, sym->st_name)); in check_rel()
|
D | strip.c | 642 shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link; in handle_elf() 660 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0); in handle_elf() 661 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt; in handle_elf() 694 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0); in handle_elf() 695 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt; in handle_elf() 901 if (shdr_info[shdr_info[cnt].shdr.sh_link].idx == 0) in handle_elf() 903 shdr_info[shdr_info[cnt].shdr.sh_link].idx = 1; in handle_elf() 904 changes |= shdr_info[cnt].shdr.sh_link < cnt; in handle_elf() 949 check_preserved (shdr_info[cnt].shdr.sh_link); in handle_elf() 1093 shdr_info[cnt].shdr.sh_link = SHN_UNDEF; in handle_elf() [all …]
|
D | elfcmp.c | 311 || shdr1->sh_link != shdr2->sh_link in main() 360 const char *name1 = elf_strptr (elf1, shdr1->sh_link, in main() 362 const char *name2 = elf_strptr (elf2, shdr2->sh_link, in main() 763 || shdr->sh_link != scnndx) in search_for_copy_reloc()
|
D | objdump.c | 521 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs() 538 && xndxshdr->sh_link == elf_ndxscn (symscn)) in show_relocs() 548 symshdr->sh_link, shstrndx); in show_relocs() 551 symshdr->sh_link, shstrndx); in show_relocs()
|
D | i386_ld.c | 93 insymdata = elf_getdata (file->scninfo[shdr->sh_link].scn, NULL); in elf_i386_relocate_section() 421 shdr->sh_link = statep->dynsymscnidx; in elf_i386_finalize_plt() 762 assert ((SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_flags in elf_i386_create_relocations() 766 Elf_Data *symdata = elf_getdata (scninfo[rshdr->sh_link].scn, NULL); in elf_i386_create_relocations() 887 if (idx < SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_info in elf_i386_create_relocations()
|
D | unstrip.c | 578 if (shdr->sh_type != SHT_NOBITS && shdr->sh_link == new_sh_link) in adjust_all_relocs() 1079 COPY (sh_link); in find_alloc_sections_prelink() 1485 && secndx == stripped_symtab->shdr.sh_link) in copy_elided_sections() 1491 ndx_section[secndx - 1] = shdr->sh_link; in copy_elided_sections() 1558 shdr_mem.sh_link = sec->shdr.sh_link; in copy_elided_sections() 1567 if (sec->shdr.sh_link != SHN_UNDEF) in copy_elided_sections() 1568 shdr_mem.sh_link = ndx_section[sec->shdr.sh_link - 1]; in copy_elided_sections() 1670 elf_getscn (stripped, stripped_symtab->shdr.sh_link), in copy_elided_sections() 1674 Elf_Scn *unstripped_strtab = elf_getscn (unstripped, shdr->sh_link); in copy_elided_sections() 1842 if (sec->outscn != NULL && sec->shdr.sh_link == old_sh_link) in copy_elided_sections()
|
D | nm.c | 1346 const char *symstr = elf_strptr (ebl->elf, shdr->sh_link, in show_symbols() 1457 sort_by_name_strtab = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), in show_symbols() 1468 show_symbols_sysv (ebl, shdr->sh_link, fullname, sym_mem, nentries, in show_symbols() 1473 show_symbols_bsd (ebl->elf, ehdr, shdr->sh_link, prefix, fname, fullname, in show_symbols() 1480 show_symbols_posix (ebl->elf, ehdr, shdr->sh_link, prefix, fullname, in show_symbols() 1582 && xndxshdr->sh_link == scnndx) in handle_elf()
|
D | readelf.c | 1061 (uint32_t) shdr->sh_link); in print_ehdr() 1196 shdr->sh_entsize, flagbuf, shdr->sh_link, shdr->sh_info, in print_shdr() 1458 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_scngrp() 1491 : elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in handle_scngrp() 1671 glink = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), &glink_mem); in handle_dynamic() 1684 (int) shdr->sh_link, in handle_dynamic() 1711 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1716 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1721 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1726 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 212 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation() 241 if (Shdr->sh_link != ELF::SHN_UNDEF) { in dumpCommonSection() 242 ErrorOr<const Elf_Shdr *> LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection() 282 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection() 306 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection() 359 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup()
|
/external/elfutils/libasm/ |
D | asm_end.c | 239 shdr->sh_link = symscnndx; in binary_end() 279 shdr->sh_link = strscnndx; in binary_end() 370 shdr->sh_link = symscnndx; in binary_end() 452 shdr->sh_link = shstrscnndx; in binary_end()
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 1104 uint64_t sh_link = 0; in writeSection() local 1117 sh_link = SymbolTableIndex; in writeSection() 1118 assert(sh_link && ".symtab not found"); in writeSection() 1126 sh_link = StringTableIndex; in writeSection() 1131 sh_link = SymbolTableIndex; in writeSection() 1135 sh_link = SymbolTableIndex; in writeSection() 1142 sh_link = SectionIndexMap.lookup(Section.getAssociatedSection()); in writeSection() 1146 sh_link, sh_info, Section.getAlignment(), in writeSection()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 306 Elf32_Word sh_link; member 319 Elf64_Word sh_link; /* Index of another section */ member
|
/external/llvm/tools/llvm-readobj/ |
D | ARMEHABIPrinter.h | 378 ErrorOr<const Elf_Shdr *> SymTabOrErr = ELF->getSection(Sec.sh_link); in FindExceptionTable() 459 if (ErrorOr<StringRef> Name = FunctionAtAddress(EHT->sh_link, Address)) in PrintExceptionTable() 508 if (ErrorOr<StringRef> Name = FunctionAtAddress(IT->sh_link, Offset)) in PrintIndexTable()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 330 return SectionHeaderTable->sh_link; in getStringTableIndex() 491 ErrorOr<const Elf_Shdr *> SymTableOrErr = getSection(Section.sh_link); in getSHNDXTable() 508 ErrorOr<const Elf_Shdr *> SectionOrErr = getSection(Sec.sh_link); in getStringTableForSymtab()
|