Lines Matching refs:shdrstrndx
411 /* Updates the shdrstrndx for the given Elf by updating the Ehdr and
414 update_shdrstrndx (Elf *elf, size_t shdrstrndx)
420 if (shdrstrndx < SHN_LORESERVE)
421 ehdr.e_shstrndx = shdrstrndx;
431 shdr0->sh_link = shdrstrndx;
909 error (0, 0, "error updating shdrstrndx: %s", elf_errmsg (-1));
1701 size_t shdrstrndx;
1702 if (elf_getshdrstrndx (elf, &shdrstrndx) < 0)
1704 error (0, 0, _("%s: error while getting shdrstrndx: %s"),
1710 if (update_shdrstrndx (debugelf, shdrstrndx) != 0)
1712 error (0, 0, _("%s: error updating shdrstrndx: %s"),
2553 error (0, 0, _("%s: error updating shdrstrndx: %s"),