Lines Matching refs:shdrstrndx
368 size_t shdrstrndx;
369 if (elf_getshdrstrndx (elf, &shdrstrndx) != 0)
461 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name);
501 if (shdr->sh_link == shdrstrndx)
665 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name);
672 /* strdup sname, the shdrstrndx section itself might be
681 && (ndx == shdrstrndx
725 if (ndx == shdrstrndx)
781 if (ndx == shdrstrndx)
835 if (! adjust_names || ndx != shdrstrndx)
862 name = elf_strptr (elf, shdrstrndx, shdr->sh_name);
933 const char *symname = elf_strptr (elf, shdrstrndx,
956 printf ("[%zd] Updating section string table\n", shdrstrndx);
958 scn = elf_getscn (elfnew, shdrstrndx);
962 shdrstrndx);
980 shdrstrndx);
986 shdr->sh_name = ebl_strtaboffset (scnstrents[shdrstrndx]);
1000 shdrstrndx);
1012 Elf_Scn *oldscn = elf_getscn (elf, shdrstrndx);
1016 shdrstrndx);
1024 shdrstrndx);
1028 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name);
1032 shdrstrndx);
1047 shstrtab_newname, shdrstrndx,
1064 if (setshdrstrndx (elfnew, &newehdr, shdrstrndx) != 0)
1066 error (0, 0, "Couldn't set new shdrstrndx: %s", elf_errmsg (-1));
1169 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name);