Lines Matching defs:stabsec

153 			 asection *stabsec,
167 if (stabsec->size == 0
172 if (stabsec->size % STABSIZE != 0)
182 if (bfd_is_abs_section (stabsec->output_section)
215 count = stabsec->size / STABSIZE;
225 stabsec->rawsize = stabsec->size;
230 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf)
244 symend = stabbuf + stabsec->size;
282 abfd, stabsec, (long) (sym - stabbuf));
463 stabsec->size = (count - skip) * STABSIZE;
464 if (stabsec->size == 0)
465 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
515 asection *stabsec,
528 if (stabsec->size == 0)
532 if (stabsec->size % STABSIZE != 0)
537 if ((stabsec->output_section != NULL
538 && bfd_is_abs_section (stabsec->output_section)))
549 count = stabsec->rawsize / STABSIZE;
553 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf))
561 symend = stabbuf + stabsec->rawsize;
616 /* Shrink the stabsec as needed. */
617 stabsec->size -= skip * STABSIZE;
618 if (stabsec->size == 0)
619 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
665 asection *stabsec,
677 return bfd_set_section_contents (output_bfd, stabsec->output_section,
678 contents, stabsec->output_offset,
679 stabsec->size);
686 BFD_ASSERT (e->offset < stabsec->rawsize);
695 symend = contents + stabsec->rawsize;
716 stabsec->output_section->size / STABSIZE - 1,
724 BFD_ASSERT ((bfd_size_type) (tosym - contents) == stabsec->size);
726 return bfd_set_section_contents (output_bfd, stabsec->output_section,
727 contents, (file_ptr) stabsec->output_offset,
728 stabsec->size);
765 _bfd_stab_section_offset (asection *stabsec,
776 if (offset >= stabsec->rawsize)
777 return offset - stabsec->rawsize + stabsec->size;