Home
last modified time | relevance | path

Searched refs:sh_link (Results 1 – 25 of 33) sorted by relevance

12

/external/elfutils/libelf/
Delf_getshstrndx.c84 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
96 num = ((Elf32_Shdr *) (elf->map_address + offset))->sh_link;
113 CONVERT (shdr_mem.sh_link);
114 num = shdr_mem.sh_link;
123 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
135 num = ((Elf64_Shdr *) (elf->map_address + offset))->sh_link;
152 CONVERT (shdr_mem.sh_link);
153 num = shdr_mem.sh_link;
Delf32_getshdr.c122 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link);
151 CONVERT (shdr[cnt].sh_link);
Dgelf_getshdr.c65 COPY (sh_link);
Dgelf_update_shdr.c69 COPY (sh_link); in gelf_update_shdr()
Dnlist.c139 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); in nlist()
/external/elfcopy/
Delfcopy.c189 shdr_info[shdridx].shdr.sh_link = SHN_UNDEF; in adjust_elf()
270 if (shdr_info[cnt].shdr.sh_link != 0) { in adjust_elf()
272 shdr_info[shdr_info[cnt].shdr.sh_link].idx, in adjust_elf()
273 shdr_info[cnt].shdr.sh_link); in adjust_elf()
275 shdr_info[cnt].shdr.sh_link = in adjust_elf()
276 shdr_info[shdr_info[cnt].shdr.sh_link].idx; in adjust_elf()
333 ASSERT(shdr_info[dynamic_idx].shdr.sh_link == in adjust_elf()
334 shdr_info[dynsym_idx].shdr.sh_link); in adjust_elf()
427 shdr_info[cnt].old_shdr.sh_link, in adjust_elf()
706 shdr_info[shdr_info[cnt].old_shdr.sh_link].newsymidx; in adjust_elf()
[all …]
Dhash.c70 elf_strptr(elf, symtab_info->hdr->sh_link, sym->st_name))) in hash_lookup()
/external/elfutils/tests/
Dupdate4.c130 shdr->sh_link = 0; in main()
166 shdr->sh_link = 0; in main()
202 shdr->sh_link = 0; in main()
238 shdr->sh_link = 0; in main()
275 shdr->sh_link = SHN_UNDEF; in main()
Dasm-tst3.c210 if (shdr->sh_link != 2) in main()
268 elf_strptr (elf, shdr->sh_link, in main()
Dsectiondump.c105 shdr->sh_link, in handle_section()
Dasm-tst1.c204 if (shdr->sh_link != 0) in main()
Dasm-tst2.c226 if (shdr->sh_link != 0) in main()
/external/elfutils/src/
Dreadelf.c640 (uint32_t) shdr->sh_link); in print_ehdr()
756 shdr->sh_entsize, flagbuf, shdr->sh_link, shdr->sh_info, in print_shdr()
936 symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_scngrp()
963 elf_strptr (ebl->elf, symshdr->sh_link, in handle_scngrp()
1141 (int) shdr->sh_link, in handle_dynamic()
1143 gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in handle_dynamic()
1172 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic()
1177 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic()
1182 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic()
1187 elf_strptr (ebl->elf, shdr->sh_link, dyn->d_un.d_val)); in handle_dynamic()
[all …]
Delflint.c469 if (shdr->sh_link >= shnum) in check_elf_header()
472 shstrndx = shdr->sh_link; in check_elf_header()
588 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_symtab()
602 shdr->sh_link, section_name (ebl, ehdr, shdr->sh_link), in check_symtab()
623 && xndxshdr->sh_link == (GElf_Word) idx) in check_symtab()
687 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name); in check_symtab()
1061 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela()
1105 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_rela()
1196 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel()
1240 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name)) in check_rel()
[all …]
Dstrip.c577 shdr_info[cnt].old_sh_link = shdr_info[cnt].shdr.sh_link; in handle_elf()
590 assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0); in handle_elf()
591 shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx = cnt; in handle_elf()
620 assert (shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0); in handle_elf()
621 shdr_info[shdr_info[cnt].shdr.sh_link].version_idx = cnt; in handle_elf()
801 if (shdr_info[shdr_info[cnt].shdr.sh_link].idx == 0) in handle_elf()
803 shdr_info[shdr_info[cnt].shdr.sh_link].idx = 1; in handle_elf()
804 changes |= shdr_info[cnt].shdr.sh_link < cnt; in handle_elf()
972 shdr_info[cnt].shdr.sh_link = SHN_UNDEF; in handle_elf()
1029 shdr_info[cnt].shdr.sh_link = SHN_UNDEF; in handle_elf()
[all …]
Di386_ld.c87 insymdata = elf_getdata (file->scninfo[shdr->sh_link].scn, NULL); in elf_i386_relocate_section()
455 shdr->sh_link = statep->dynsymscnidx; in elf_i386_finalize_plt()
553 && r_sym >= SCNINFO_SHDR (scninfo->fileinfo->scninfo[shdr->sh_link].shdr).sh_info in elf_i386_count_relocations()
674 assert ((SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_flags in elf_i386_create_relocations()
678 Elf_Data *symdata = elf_getdata (scninfo[rshdr->sh_link].scn, NULL); in elf_i386_create_relocations()
782 && idx >= SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_info in elf_i386_create_relocations()
Dnm.c967 result = strcmp (elf_strptr (ebl->elf, shdr->sh_link, s1->sym.st_name), in show_symbols()
968 elf_strptr (ebl->elf, shdr->sh_link, s2->sym.st_name)); in show_symbols()
1067 const char *symstr = elf_strptr (ebl->elf, shdr->sh_link, in show_symbols()
1168 show_symbols_sysv (ebl, shdr->sh_link, prefix, fname, in show_symbols()
1174 show_symbols_bsd (ebl->elf, ehdr, shdr->sh_link, prefix, fname, in show_symbols()
1181 show_symbols_posix (ebl->elf, ehdr, shdr->sh_link, prefix, fname, in show_symbols()
1280 && xndxshdr->sh_link == scnndx) in handle_elf()
Dldgeneric.c882 if (unlikely (shdr->sh_link != 0)) in mark_section_used()
885 mark_section_used (&scninfo->fileinfo->scninfo[shdr->sh_link], in mark_section_used()
886 shdr->sh_link, &ignore); in mark_section_used()
1086 fileinfo->symstridx = shdr->sh_link; in add_relocatable_file()
1093 fileinfo->dynsymstridx = shdr->sh_link; in add_relocatable_file()
1102 symstridx = shdr->sh_link; in add_relocatable_file()
1166 symscn = elf_getscn (fileinfo->elf, shdr->sh_link); in add_relocatable_file()
1180 symbol->name = elf_strptr (fileinfo->elf, symshdr->sh_link, in add_relocatable_file()
1922 dynshdr->sh_link, in file_process2()
1936 dynshdr->sh_link, in file_process2()
[all …]
/external/libvpx/build/make/
Dobj_int_extract.c294 ENDIAN_ASSIGN_IN_PLACE(hdr->sh_link); in parse_elf32_section()
391 shdr.sh_link, in parse_elf32()
429 shdr.sh_link, in parse_elf32()
436 shdr.sh_link, in parse_elf32()
443 shdr.sh_link, in parse_elf32()
/external/qemu/
Delf_ops.h38 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/
Dasm_end.c223 shdr->sh_link = symscnndx; in binary_end()
263 shdr->sh_link = strscnndx; in binary_end()
354 shdr->sh_link = symscnndx; in binary_end()
436 shdr->sh_link = shstrscnndx; in binary_end()
/external/kernel-headers/original/linux/
Delf.h276 Elf32_Word sh_link; member
289 Elf64_Word sh_link; /* Index of another section */ member
/external/qemu/elff/
Delf.h229 Elf_Word sh_link; member
/external/chromium/base/third_party/symbolize/
Dsymbolize.cc334 symtab.sh_link * sizeof(symtab))) { in GetSymbolFromObjectFile()
348 symtab.sh_link * sizeof(symtab))) { in GetSymbolFromObjectFile()
/external/grub/stage2/
Di386-elf.h111 Elf32_Word sh_link; /* Link to another section */ member

12