Lines Matching refs:sh_link
461 if (shdr != NULL && shdr->sh_link < shnum)
462 shstrndx = shdr->sh_link;
576 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link),
584 shdr->sh_link, section_name (ebl, shdr->sh_link),
603 && xndxshdr->sh_link == (GElf_Word) idx)
673 name = elf_strptr (ebl->elf, shdr->sh_link, sym->st_name);
1310 && (name = elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name))
1407 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link);
1457 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link);
1559 strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link), &strshdr_mem);
1563 shdr->sh_link, section_name (ebl, shdr->sh_link),
1655 specified in sh_link. */
1659 section [%2d] '%s': entry %zu: pointer does not match address of section [%2d] '%s' referenced by sh_link\n"),
1661 shdr->sh_link, section_name (ebl, shdr->sh_link));
1721 shdr->sh_link, section_name (ebl, shdr->sh_link));
1840 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link);
1872 && rshdr->sh_link == shdr->sh_link)
2031 Elf_Data *symdata = elf_getdata (elf_getscn (ebl->elf, shdr->sh_link), NULL);
2078 const char *symname = elf_strptr (ebl->elf, symshdr->sh_link,
2154 GElf_Shdr *symshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link),
2221 if (hash_shdr->sh_link != gnu_hash_shdr->sh_link)
2224 sh_link in hash sections [%2zu] '%s' and [%2zu] '%s' not identical\n"),
2231 Elf_Scn *sym_scn = elf_getscn (ebl->elf, hash_shdr->sh_link);
2366 /* Check that sh_link is an index of a symbol table. */
2367 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link);
2377 section [%2d] '%s': section reference in sh_link is no symbol table\n"),
2397 else if (strcmp (elf_strptr (ebl->elf, symshdr->sh_link, sym->st_name),
2562 && shdr->sh_link == symscnndx)
2667 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link);
2677 section [%2d] '%s' refers in sh_link to section [%2d] '%s' which is no dynamic symbol table\n"),
2679 shdr->sh_link, section_name (ebl, shdr->sh_link));
2690 shdr->sh_link, section_name (ebl, shdr->sh_link));
2754 if (!has_copy_reloc (ebl, shdr->sh_link, cnt)
2791 const char *str = elf_strptr (elf, shdr->sh_link, dyn->d_un.d_val);
2811 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link),
2817 section [%2d] '%s': sh_link does not link to string table\n"),
2849 const char *libname = elf_strptr (ebl->elf, shdr->sh_link,
2877 const char *verstr = elf_strptr (ebl->elf, shdr->sh_link,
2940 GElf_Shdr *strshdr = gelf_getshdr (elf_getscn (ebl->elf, shdr->sh_link),
2946 section [%2d] '%s': sh_link does not link to string table\n"),
3013 const char *name = elf_strptr (ebl->elf, shdr->sh_link, aux->vda_name);
3049 name = elf_strptr (ebl->elf, shdr->sh_link, aux->vda_name);
3374 sh_size and sh_link fields. */
3402 if (shdr->sh_link != 0 && ehdr->e_shstrndx != SHN_XINDEX)
3612 if (shdr->sh_link >= shnum)