• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/

Lines Matching defs:i_shdrp

254   Elf_Internal_Shdr **i_shdrp;
259 i_shdrp = elf_elfsections (abfd);
260 if (i_shdrp == 0
262 || i_shdrp[shindex] == 0)
265 shstrtab = i_shdrp[shindex]->contents;
269 offset = i_shdrp[shindex]->sh_offset;
270 shstrtabsize = i_shdrp[shindex]->sh_size;
286 i_shdrp[shindex]->contents = shstrtab;
1013 Elf_Internal_Shdr **i_shdrp;
1018 i_shdrp = elf_elfsections (abfd);
1019 if (i_shdrp != NULL)
1027 if (!strcmp (&shstrtab[i_shdrp[i]->sh_name], name))
1028 return i_shdrp[i];
2716 Elf_Internal_Shdr **i_shdrp;
2820 i_shdrp = bfd_zalloc2 (abfd, section_number, sizeof (Elf_Internal_Shdr *));
2821 if (i_shdrp == NULL)
2824 i_shdrp[0] = bfd_zalloc (abfd, sizeof (Elf_Internal_Shdr));
2825 if (i_shdrp[0] == NULL)
2827 bfd_release (abfd, i_shdrp);
2831 elf_elfsections (abfd) = i_shdrp;
2833 i_shdrp[t->shstrtab_section] = &t->shstrtab_hdr;
2836 i_shdrp[t->symtab_section] = &t->symtab_hdr;
2839 i_shdrp[t->symtab_shndx_section] = &t->symtab_shndx_hdr;
2842 i_shdrp[t->strtab_section] = &t->strtab_hdr;
2852 i_shdrp[d->this_idx] = &d->this_hdr;
2854 i_shdrp[d->rel_idx] = &d->rel_hdr;
2856 i_shdrp[d->rel_idx2] = d->rel_hdr2;
3030 if (i_shdrp[secn] == NULL)
3031 i_shdrp[secn] = i_shdrp[0];
3033 i_shdrp[secn]->sh_name = _bfd_elf_strtab_offset (elf_shstrtab (abfd),
3034 i_shdrp[secn]->sh_name);
3202 _bfd_elf_assign_file_position_for_section (Elf_Internal_Shdr *i_shdrp,
3210 al = i_shdrp->sh_addralign;
3214 i_shdrp->sh_offset = offset;
3215 if (i_shdrp->bfd_section != NULL)
3216 i_shdrp->bfd_section->filepos = offset;
3217 if (i_shdrp->sh_type != SHT_NOBITS)
3218 offset += i_shdrp->sh_size;
4706 Elf_Internal_Shdr **i_shdrp; /* Section header table, internal form */
4711 i_shdrp = elf_elfsections (abfd);
4824 Elf_Internal_Shdr **i_shdrp;
4832 i_shdrp = elf_elfsections (abfd);
4847 (*bed->elf_backend_section_processing) (abfd, i_shdrp[count]);
4848 if (i_shdrp[count]->contents)
4850 bfd_size_type amt = i_shdrp[count]->sh_size;
4852 if (bfd_seek (abfd, i_shdrp[count]->sh_offset, SEEK_SET) != 0
4853 || bfd_bwrite (i_shdrp[count]->contents, amt, abfd) != amt)
4873 /* This is last since write_shdrs_and_ehdr can touch i_shdrp[0]. */