/external/elfutils/libelf/ |
D | elf_getshstrndx.c | 119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; 131 num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_link; 149 CONVERT (shdr_mem.sh_link); 150 num = shdr_mem.sh_link; 157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link; 169 num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_link; 187 CONVERT (shdr_mem.sh_link); 188 num = shdr_mem.sh_link;
|
D | elf32_getshdr.c | 143 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2() 153 && shdr[cnt].sh_link < shnum) in ElfW2() 154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2() 189 CONVERT (shdr[cnt].sh_link); in ElfW2()
|
D | gelf_getshdr.c | 99 COPY (sh_link);
|
D | gelf_update_shdr.c | 103 COPY (sh_link); in gelf_update_shdr()
|
/external/llvm/test/CodeGen/ARM/ |
D | ehabi-mc-sh_link.ll | 1 ; Test the sh_link in Elf32_Shdr. 4 ; The sh_link in Elf32_Shdr should be filled with the section index of 32 ; CHECK-NEXT: ('sh_link', 0x00000001) 45 ; CHECK-NEXT: ('sh_link', 0x00000007)
|
D | 2010-11-30-reloc-movt.ll | 18 ; OBJ-NEXT: 'sh_link'
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-initial-cfa.ll | 19 ; STATIC-NEXT: ('sh_link', 0x00000000) 31 ; STATIC-NEXT: ('sh_link', 0x{{.*}}) 53 ; PIC-NEXT: ('sh_link', 0x00000000) 65 ; PIC-NEXT: ('sh_link', 0x{{.*}})
|
/external/elfutils/tests/ |
D | update4.c | 142 shdr->sh_link = 0; in main() 178 shdr->sh_link = 0; in main() 214 shdr->sh_link = 0; in main() 250 shdr->sh_link = 0; in main() 287 shdr->sh_link = SHN_UNDEF; in main()
|
D | asm-tst3.c | 233 if (shdr->sh_link != 2) in main() 291 elf_strptr (elf, shdr->sh_link, in main()
|
/external/elfutils/src/ |
D | elflint.c | 461 if (shdr != NULL && shdr->sh_link < shnum) in check_elf_header() 462 shstrndx = shdr->sh_link; in check_elf_header() 576 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab() 584 shdr->sh_link, section_name (ebl, shdr->sh_link), in check_symtab() 603 && xndxshdr->sh_link == (GElf_Word) idx) in check_symtab() 673 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name); in check_symtab() 1310 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_one_reloc() 1407 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela() 1457 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel() 1559 strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), &strshdr_mem); in check_dynamic() [all …]
|
D | findtextrel.c | 404 symscn = elf_getscn (elf, shdr->sh_link); in process_file() 409 (size_t) shdr->sh_link, fname, elf_errmsg (-1)); in process_file() 560 const char *lowstr = elf_strptr (elf, shdr->sh_link, in check_rel() 585 lowstr, elf_strptr (elf, shdr->sh_link, in check_rel() 597 elf_strptr (elf, shdr->sh_link, sym->st_name)); in check_rel()
|
D | strip.c | 589 shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link; in handle_elf() 602 assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0); in handle_elf() 603 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt; in handle_elf() 630 assert (shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0); in handle_elf() 631 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt; in handle_elf() 807 if (shdr_info[shdr_info[cnt].shdr.sh_link].idx == 0) in handle_elf() 809 shdr_info[shdr_info[cnt].shdr.sh_link].idx = 1; in handle_elf() 810 changes |= shdr_info[cnt].shdr.sh_link < cnt; in handle_elf() 850 check_preserved (shdr_info[cnt].shdr.sh_link); in handle_elf() 979 shdr_info[cnt].shdr.sh_link = SHN_UNDEF; in handle_elf() [all …]
|
D | readelf.c | 783 (uint32_t) shdr->sh_link); in print_ehdr() 897 shdr->sh_entsize, flagbuf, shdr->sh_link, shdr->sh_info, in print_shdr() 1101 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_scngrp() 1131 elf_strptr (ebl->elf, symshdr->sh_link, in handle_scngrp() 1306 (int) shdr->sh_link, in handle_dynamic() 1308 gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in handle_dynamic() 1335 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1340 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1345 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() 1350 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic() [all …]
|
D | elfcmp.c | 266 || shdr1->sh_link != shdr2->sh_link in main() 306 const char *name1 = elf_strptr (elf1, shdr1->sh_link, in main() 308 const char *name2 = elf_strptr (elf2, shdr2->sh_link, in main() 604 || shdr->sh_link != scnndx) in search_for_copy_reloc()
|
D | unstrip.c | 537 if (shdr->sh_type != SHT_NOBITS && shdr->sh_link == new_sh_link) in adjust_all_relocs() 1019 COPY (sh_link); in find_alloc_sections_prelink() 1310 unstripped_strtab_ndx = shdr->sh_link; in copy_elided_sections() 1422 && secndx == stripped_symtab->shdr.sh_link) in copy_elided_sections() 1428 ndx_section[secndx - 1] = shdr->sh_link; in copy_elided_sections() 1495 shdr_mem.sh_link = sec->shdr.sh_link; in copy_elided_sections() 1496 if (sec->shdr.sh_link != SHN_UNDEF) in copy_elided_sections() 1497 shdr_mem.sh_link = ndx_section[sec->shdr.sh_link - 1]; in copy_elided_sections() 1600 elf_getscn (stripped, stripped_symtab->shdr.sh_link), in copy_elided_sections() 1604 Elf_Scn *unstripped_strtab = elf_getscn (unstripped, shdr->sh_link); in copy_elided_sections() [all …]
|
D | nm.c | 1081 const char *symstr = elf_strptr (ebl->elf, shdr->sh_link, in show_symbols() 1177 sort_by_name_strtab = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), in show_symbols() 1188 show_symbols_sysv (ebl, shdr->sh_link, prefix, fname, in show_symbols() 1194 show_symbols_bsd (ebl->elf, shdr->sh_link, prefix, fname, fullname, in show_symbols() 1201 show_symbols_posix (ebl->elf, shdr->sh_link, prefix, fullname, sym_mem, in show_symbols() 1300 && xndxshdr->sh_link == scnndx) in handle_elf()
|
D | i386_ld.c | 101 insymdata = elf_getdata (file->scninfo[shdr->sh_link].scn, NULL); in elf_i386_relocate_section() 429 shdr->sh_link = statep->dynsymscnidx; in elf_i386_finalize_plt() 770 assert ((SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_flags in elf_i386_create_relocations() 774 Elf_Data *symdata = elf_getdata (scninfo[rshdr->sh_link].scn, NULL); in elf_i386_create_relocations() 895 if (idx < SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_info in elf_i386_create_relocations()
|
D | objdump.c | 575 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs() 590 && xndxshdr->sh_link == elf_ndxscn (symscn)) in show_relocs() 600 symshdr->sh_link, shstrndx); in show_relocs() 603 symshdr->sh_link, shstrndx); in show_relocs()
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 321 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_link); in parse_elf_section() 339 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_link); in parse_elf_section() 538 shdr.sh_link, in parse_elf() 545 shdr.sh_link, in parse_elf() 552 shdr.sh_link, in parse_elf() 630 shdr.sh_link, in parse_elf() 637 shdr.sh_link, in parse_elf() 644 shdr.sh_link, in parse_elf()
|
/external/llvm/test/MC/ELF/ |
D | entsize.ll | 29 ; 64-NEXT: ('sh_link', 40 ; 64-NEXT: ('sh_link',
|
/external/qemu/ |
D | elf_ops.h | 38 bswap32s(&shdr->sh_link); in glue() 155 if (symtab->sh_link >= ehdr->e_shnum) in glue() 157 strtab = &shdr_table[symtab->sh_link]; in glue()
|
/external/elfutils/libasm/ |
D | asm_end.c | 236 shdr->sh_link = symscnndx; in binary_end() 276 shdr->sh_link = strscnndx; in binary_end() 367 shdr->sh_link = symscnndx; in binary_end() 449 shdr->sh_link = shstrscnndx; in binary_end()
|
/external/llvm/lib/MC/ |
D | ELFObjectWriter.cpp | 1276 uint64_t sh_link = 0; in WriteSection() local 1281 sh_link = SectionStringTableIndex[&Section]; in WriteSection() 1292 sh_link = SectionIndexMap.lookup(SymtabSection); in WriteSection() 1293 assert(sh_link && ".symtab not found"); in WriteSection() 1308 sh_link = StringTableIndex; in WriteSection() 1313 sh_link = SymbolTableIndex; in WriteSection() 1332 sh_link = SymbolTableIndex; in WriteSection() 1345 sh_link = SectionIndexMap.lookup( in WriteSection() 1351 sh_link = SectionIndexMap.lookup( in WriteSection() 1360 Section.getFlags(), 0, Offset, Size, sh_link, sh_info, in WriteSection()
|
/external/llvm/test/MC/ARM/ |
D | xscale-attributes.ll | 27 ; OBJ-NEXT: 'sh_link', 0x00000000
|
/external/qemu/elff/ |
D | elff_elf.h | 227 Elf_Word sh_link; member
|