Lines Matching refs:i_shdrp
500 Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */
744 amt = sizeof (*i_shdrp) * i_ehdrp->e_shnum;
745 i_shdrp = bfd_alloc (abfd, amt);
746 if (!i_shdrp)
752 amt = sizeof (i_shdrp) * num_sec;
757 memcpy (i_shdrp, &i_shdr, sizeof (*i_shdrp));
758 shdrp = i_shdrp;
765 elf_elfsections (abfd)[shindex] = i_shdrp;
776 elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex);
779 if (! valid_section_index_p (i_shdrp[shindex].sh_link, num_sec))
782 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK)
783 || i_shdrp[shindex].sh_type == SHT_RELA
784 || i_shdrp[shindex].sh_type == SHT_REL)
785 && ! valid_section_index_p (i_shdrp[shindex].sh_info, num_sec))
790 if (i_shdrp[shindex].sh_size != 0
791 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0
792 && i_shdrp[shindex].sh_type != SHT_NOBITS
793 && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset)
1058 Elf_Internal_Shdr **i_shdrp; /* Section header table, internal form */
1063 i_shdrp = elf_elfsections (abfd);
1079 i_shdrp[0]->sh_size = i_ehdrp->e_shnum;
1081 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1090 for (count = 0; count < i_ehdrp->e_shnum; i_shdrp++, count++)
1093 elf_debug_section (count, *i_shdrp);
1095 elf_swap_shdr_out (abfd, *i_shdrp, x_shdrp + count);
1098 i_shdrp += SHN_HIRESERVE + 1 - SHN_LORESERVE;