Home | History | Annotate | Download | only in bfd

Lines Matching defs:i_shdrp

267   Elf_Internal_Shdr **i_shdrp;
272 i_shdrp = elf_elfsections (abfd);
273 if (i_shdrp == 0
275 || i_shdrp[shindex] == 0)
278 shstrtab = i_shdrp[shindex]->contents;
282 offset = i_shdrp[shindex]->sh_offset;
283 shstrtabsize = i_shdrp[shindex]->sh_size;
292 i_shdrp[shindex]->sh_size = 0;
302 i_shdrp[shindex]->contents = shstrtab;
4028 Elf_Internal_Shdr **i_shdrp;
4142 i_shdrp = (Elf_Internal_Shdr **) bfd_zalloc (abfd, amt);
4143 if (i_shdrp == NULL)
4146 i_shdrp[0] = (Elf_Internal_Shdr *) bfd_zalloc (abfd,
4148 if (i_shdrp[0] == NULL)
4150 bfd_release (abfd, i_shdrp);
4154 elf_elfsections (abfd) = i_shdrp;
4156 i_shdrp[elf_shstrtab_sec (abfd)] = &t->shstrtab_hdr;
4159 i_shdrp[elf_onesymtab (abfd)] = &t->symtab_hdr;
4164 i_shdrp[entry->ndx] = & entry->hdr;
4167 i_shdrp[elf_strtab_sec (abfd)] = &t->strtab_hdr;
4177 i_shdrp[d->this_idx] = &d->this_hdr;
4179 i_shdrp[d->rel.idx] = d->rel.hdr;
4181 i_shdrp[d->rela.idx] = d->rela.hdr;
4564 _bfd_elf_assign_file_position_for_section (Elf_Internal_Shdr *i_shdrp,
4569 if (i_shdrp->sh_addralign > 1)
4571 file_ptr salign = i_shdrp->sh_addralign & -i_shdrp->sh_addralign;
4583 i_shdrp->sh_offset = offset;
4584 if (i_shdrp->bfd_section != NULL)
4585 i_shdrp->bfd_section->filepos = offset;
4586 if (i_shdrp->sh_type != SHT_NOBITS)
4587 offset += i_shdrp->sh_size;
7122 Elf_Internal_Shdr **i_shdrp;
7143 i_shdrp = elf_elfsections (abfd);
7159 i_shdrp[count]->sh_name
7161 i_shdrp[count]->sh_name);
7163 if (!(*bed->elf_backend_section_processing) (abfd, i_shdrp[count]))
7165 if (i_shdrp[count]->contents)
7167 bfd_size_type amt = i_shdrp[count]->sh_size;
7169 if (bfd_seek (abfd, i_shdrp[count]->sh_offset, SEEK_SET) != 0
7170 || bfd_write (i_shdrp[count]->contents, amt, abfd) != amt)
7189 /* This is last since write_shdrs_and_ehdr can touch i_shdrp[0]. */