Lines Matching defs:shstrtab
1024 get_section_name (size_t ndx, const GElf_Shdr *shdr, const Elf_Data *shstrtab)
1026 if (shdr->sh_name >= shstrtab->d_size)
1029 return shstrtab->d_buf + shdr->sh_name;
1316 /* Create new .shstrtab contents, subroutine of copy_elided_sections.
1321 Elf_Data *shstrtab, size_t unstripped_shstrndx,
1352 const char *name = get_section_name (i + 1, shdr, shstrtab);
1457 Elf_Data *shstrtab = elf_getdata (elf_getscn (unstripped,
1459 ELF_CHECK (shstrtab != NULL,
1485 const char *name = get_section_name (ndx, shdr, shstrtab);
1571 split_bss = find_alloc_sections_prelink (unstripped, shstrtab,
1595 /* We only need one .shstrtab. */
1642 /* We added some sections, so we need a new shstrtab. */
1644 shstrtab, unstripped_shstrndx,
1923 const char *name = get_section_name (i + 1, hdr, shstrtab);
2083 .shstrtab, and update the ELF header. */