Lines Matching refs:sh_link
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()
1660 shdr->sh_link, section_name (ebl, shdr->sh_link), in check_dynamic()
1666 shdr->sh_link, idx, section_name (ebl, idx)); in check_dynamic()
1757 shdr->sh_link, section_name (ebl, shdr->sh_link)); in check_dynamic()
1817 shdr->sh_link, section_name (ebl, shdr->sh_link)); in check_dynamic()
1936 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_symtab_shndx()
1946 idx, section_name (ebl, idx), shdr->sh_link); in check_symtab_shndx()
1974 && rshdr->sh_link == shdr->sh_link) in check_symtab_shndx()
2186 Elf_Data *symdata = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), NULL); in check_gnu_hash()
2234 ? elf_strptr (ebl->elf, symshdr->sh_link, in check_gnu_hash()
2319 GElf_Shdr *symshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_hash()
2328 idx, section_name (ebl, idx), shdr->sh_link); in check_hash()
2393 if (hash_shdr->sh_link != gnu_hash_shdr->sh_link) in compare_hash_gnu_hash()
2403 Elf_Scn *sym_scn = elf_getscn (ebl->elf, hash_shdr->sh_link); in compare_hash_gnu_hash()
2629 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_group()
2659 else if (elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name) == NULL) in check_group()
2663 else if (strcmp (elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name), in check_group()
2832 && shdr->sh_link == symscnndx) in has_copy_reloc()
2937 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_versym()
2949 shdr->sh_link, section_name (ebl, shdr->sh_link)); in check_versym()
2961 shdr->sh_link, section_name (ebl, shdr->sh_link)); in check_versym()
3025 if (!has_copy_reloc (ebl, shdr->sh_link, cnt) in check_versym()
3063 const char *str = elf_strptr (elf, shdr->sh_link, dyn->d_un.d_val); in unknown_dependency_p()
3083 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_verneed()
3126 const char *libname = elf_strptr (ebl->elf, shdr->sh_link, in check_verneed()
3154 const char *verstr = elf_strptr (ebl->elf, shdr->sh_link, in check_verneed()
3230 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), in check_verdef()
3308 const char *name = elf_strptr (ebl->elf, shdr->sh_link, aux->vda_name); in check_verdef()
3343 name = elf_strptr (ebl->elf, shdr->sh_link, aux->vda_name); in check_verdef()
3717 if (shdr->sh_link != 0 && ehdr->e_shstrndx != SHN_XINDEX) in check_sections()
3963 if (shdr->sh_link >= shnum) in check_sections()