Home | History | Annotate | Download | only in bfd

Lines Matching defs:i_shdrp

526   Elf_Internal_Shdr *i_shdrp;	/* Section header table, internal form */
711 if (_bfd_mul_overflow (i_ehdrp->e_shnum, sizeof (*i_shdrp), &amt))
713 i_shdrp = (Elf_Internal_Shdr *) bfd_alloc (abfd, amt);
714 if (!i_shdrp)
718 if (_bfd_mul_overflow (num_sec, sizeof (i_shdrp), &amt))
727 memcpy (i_shdrp, &i_shdr, sizeof (*i_shdrp));
728 for (shdrp = i_shdrp, shindex = 0; shindex < num_sec; shindex++)
737 elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex);
740 if (i_shdrp[shindex].sh_link >= num_sec)
753 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */
754 || i_shdrp[shindex].sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */)
762 if (((i_shdrp[shindex].sh_flags & SHF_INFO_LINK)
763 || i_shdrp[shindex].sh_type == SHT_RELA
764 || i_shdrp[shindex].sh_type == SHT_REL)
765 && i_shdrp[shindex].sh_info >= num_sec)
770 if (i_shdrp[shindex].sh_size != 0
771 && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0
772 && i_shdrp[shindex].sh_type != SHT_NOBITS
773 && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset)
780 || i_shdrp[i_ehdrp->e_shstrndx].sh_type != SHT_STRTAB)
1110 Elf_Internal_Shdr **i_shdrp; /* Section header table, internal form */
1115 i_shdrp = elf_elfsections (abfd);
1134 i_shdrp[0]->sh_info = i_ehdrp->e_phnum;
1136 i_shdrp[0]->sh_size = i_ehdrp->e_shnum;
1138 i_shdrp[0]->sh_link = i_ehdrp->e_shstrndx;
1150 for (count = 0; count < i_ehdrp->e_shnum; i_shdrp++, count++)
1153 elf_debug_section (count, *i_shdrp);
1155 elf_swap_shdr_out (abfd, *i_shdrp, x_shdrp + count);
1173 Elf_Internal_Shdr **i_shdrp = elf_elfsections (abfd);
1203 i_shdr = *i_shdrp[count];