Lines Matching refs:i_shdrp
503 Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */
747 amt = sizeof (*i_shdrp) * i_ehdrp->e_shnum;
748 i_shdrp = bfd_alloc (abfd, amt);
749 if (!i_shdrp)
755 amt = sizeof (i_shdrp) * num_sec;
760 memcpy (i_shdrp, &i_shdr, sizeof (*i_shdrp));
761 shdrp = i_shdrp;
768 elf_elfsections (abfd)[shindex] = i_shdrp;
779 elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex);
782 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec))
785 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK)
786 || i_shdrp[shindex].sh_type == SHT_RELA
787 || i_shdrp[shindex].sh_type == SHT_REL)
788 && ! valid_section_index_p (i_shdrp[shindex].sh_info, num_sec))
793 if (i_shdrp[shindex].sh_size != 0
794 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0
795 && i_shdrp[shindex].sh_type != SHT_NOBITS
796 && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset)
1061 Elf_Internal_Shdr **i_shdrp; /* Section header table, internal form */
1066 i_shdrp = elf_elfsections (abfd);
1082 i_shdrp[0]->sh_size = i_ehdrp->e_shnum;
1084 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1093 for (count = 0; count < i_ehdrp->e_shnum; i_shdrp++, count++)
1096 elf_debug_section (count, *i_shdrp);
1098 elf_swap_shdr_out (abfd, *i_shdrp, x_shdrp + count);
1101 i_shdrp += SHN_HIRESERVE + 1 - SHN_LORESERVE;
1118 Elf_Internal_Shdr **i_shdrp = elf_elfsections (abfd);
1146 i_shdr = *i_shdrp[count];