/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() 152 CONVERT (shdr_mem.sh_link); in elf_getshdrstrndx() 153 num = shdr_mem.sh_link; in elf_getshdrstrndx() 168 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link; in elf_getshdrstrndx() 194 + offset))->sh_link; in elf_getshdrstrndx() 217 CONVERT (shdr_mem.sh_link); in elf_getshdrstrndx() 218 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 | 219 size_t strtabndx = symtabshdr->sh_link; in main() 405 zshdr->sh_link = strtabndx; in main() 462 if (shdr->sh_link != 0) in main() 463 newshdr.sh_link = newsecndx (shdr->sh_link, "shdr", ndx, "sh_link", 0); in main() 465 newshdr.sh_link = 0; in main() 510 const bool update_name = shdr->sh_link == strtabndx; in main()
|
D | addsections.c | 59 zshdr->sh_link = ndx; in setshstrndx() 188 shdr->sh_link = SHN_UNDEF; in add_sections() 235 shdr->sh_link = SHN_UNDEF; in add_sections()
|
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()
|
/external/elfutils/src/ |
D | elflint.c | 451 if (shdr != NULL && shdr->sh_link < shnum) in check_elf_header() 452 shstrndx = shdr->sh_link; in check_elf_header() 616 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab() 624 shdr->sh_link, section_name (ebl, shdr->sh_link), in check_symtab() 643 && xndxshdr->sh_link == (GElf_Word) idx) in check_symtab() 714 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name); in check_symtab() 1409 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_one_reloc() 1506 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela() 1557 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel() 1656 strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), &strshdr_mem); in check_dynamic() [all …]
|
D | strip.c | 403 && xndxshdr->sh_link == scnndx) in get_xndxdata() 434 shdr0->sh_link = shdrstrndx; in update_shdrstrndx() 512 Elf64_Word symt = shdr->sh_link; in remove_debug_relocations() 1224 shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link; in handle_elf() 1242 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0); in handle_elf() 1243 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt; in handle_elf() 1276 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0); in handle_elf() 1277 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt; in handle_elf() 1485 shdr_info[cnt].shdr.sh_link, in handle_elf() 1506 if (shdr_info[shdr_info[cnt].shdr.sh_link].idx == 0) in handle_elf() [all …]
|
D | findtextrel.c | 403 symscn = elf_getscn (elf, shdr->sh_link); in process_file() 408 (size_t) shdr->sh_link, fname, elf_errmsg (-1)); in process_file() 562 const char *lowstr = elf_strptr (elf, shdr->sh_link, in check_rel() 587 lowstr, elf_strptr (elf, shdr->sh_link, in check_rel() 599 elf_strptr (elf, shdr->sh_link, sym->st_name)); in check_rel()
|
D | unstrip.c | 259 shdr0->sh_link = shstrndx; in copy_elf() 605 && shdr->sh_link == new_sh_link) in adjust_all_relocs() 1022 Elf_Scn *symscn = elf_getscn (elf, shdr->sh_link); in get_group_sig() 1044 const char *sig = elf_strptr (elf, symshdr->sh_link, sym->st_name); in get_group_sig() 1162 COPY (sh_link); in find_alloc_sections_prelink() 1463 unstripped_strndx = shdr->sh_link; in copy_elided_sections() 1576 && secndx == stripped_symtab->shdr.sh_link in copy_elided_sections() 1647 shdr_mem.sh_link = sec->shdr.sh_link; in copy_elided_sections() 1656 if (sec->shdr.sh_link != SHN_UNDEF) in copy_elided_sections() 1657 shdr_mem.sh_link = ndx_section[sec->shdr.sh_link - 1]; in copy_elided_sections() [all …]
|
D | elfcmp.c | 325 || shdr1->sh_link != shdr2->sh_link in main() 374 const char *name1 = elf_strptr (elf1, shdr1->sh_link, in main() 376 const char *name2 = elf_strptr (elf2, shdr2->sh_link, in main() 765 || shdr->sh_link != scnndx) in search_for_copy_reloc()
|
D | objdump.c | 509 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs() 526 && xndxshdr->sh_link == elf_ndxscn (symscn)) in show_relocs() 536 symshdr->sh_link, shstrndx); in show_relocs() 539 symshdr->sh_link, shstrndx); in show_relocs()
|
/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/swiftshader/third_party/LLVM/test/MC/ELF/ |
D | entsize.ll | 29 ; 64-NEXT: ('sh_link', 40 ; 64-NEXT: ('sh_link',
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFSection.h | 76 void setLinkNum(Elf64_Word sh_link) { Header.sh_link = sh_link; } in setLinkNum() argument 323 Str.writeELFWord<IsELF64>(Header.sh_link); in writeHeader()
|
/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/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 289 auto StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation() 326 if (Shdr->sh_link != ELF::SHN_UNDEF) { in dumpCommonSection() 327 auto LinkSection = Obj.getSection(Shdr->sh_link); in dumpCommonSection() 367 auto SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection() 394 auto SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection() 449 auto SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/ |
D | many-sections.s | 7 ## should have the value of SHN_XINDEX and sh_link of the section header 11 ## space, but its e_shnum, e_shstrndx, sh_size and sh_link fields are set
|
/external/elfutils/libasm/ |
D | asm_end.c | 238 shdr->sh_link = symscnndx; in binary_end() 279 shdr->sh_link = strscnndx; in binary_end() 371 shdr->sh_link = symscnndx; in binary_end() 453 shdr->sh_link = shstrscnndx; in binary_end()
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 1137 uint64_t sh_link = 0; in writeSection() local 1150 sh_link = SymbolTableIndex; in writeSection() 1151 assert(sh_link && ".symtab not found"); in writeSection() 1159 sh_link = StringTableIndex; in writeSection() 1164 sh_link = SymbolTableIndex; in writeSection() 1168 sh_link = SymbolTableIndex; in writeSection() 1175 sh_link = SectionIndexMap.lookup(Section.getAssociatedSection()); in writeSection() 1179 sh_link, sh_info, Section.getAlignment(), in writeSection()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 969 uint64_t sh_link = 0; in writeSection() local 982 sh_link = SymbolTableIndex; in writeSection() 983 assert(sh_link && ".symtab not found"); in writeSection() 990 sh_link = StringTableIndex; in writeSection() 997 sh_link = SymbolTableIndex; in writeSection() 1001 sh_link = SymbolTableIndex; in writeSection() 1009 sh_link = SectionIndexMap.lookup(Sec); in writeSection() 1014 sh_link, sh_info, Section.getAlignment(), in writeSection()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 310 Elf32_Word sh_link; member 323 Elf64_Word sh_link; /* Index of another section */ member
|