Lines Matching refs:stabsec
152 asection *stabsec,
166 if (stabsec->size == 0
171 if (stabsec->size % STABSIZE != 0)
181 if (bfd_is_abs_section (stabsec->output_section)
214 count = stabsec->size / STABSIZE;
224 stabsec->rawsize = stabsec->size;
229 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf)
243 symend = stabbuf + stabsec->size;
281 abfd, stabsec, (long) (sym - stabbuf));
462 stabsec->size = (count - skip) * STABSIZE;
463 if (stabsec->size == 0)
464 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
514 asection *stabsec,
527 if (stabsec->size == 0)
531 if (stabsec->size % STABSIZE != 0)
536 if ((stabsec->output_section != NULL
537 && bfd_is_abs_section (stabsec->output_section)))
548 count = stabsec->rawsize / STABSIZE;
552 stabsec, &stabbuf))
560 symend = stabbuf + stabsec->rawsize;
615 /* Shrink the stabsec as needed. */
616 stabsec->size -= skip * STABSIZE;
617 if (stabsec->size == 0)
618 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
664 asection *stabsec,
676 return bfd_set_section_contents (output_bfd, stabsec->output_section,
677 contents, stabsec->output_offset,
678 stabsec->size);
685 BFD_ASSERT (e->offset < stabsec->rawsize);
694 symend = contents + stabsec->rawsize;
715 stabsec->output_section->size / STABSIZE - 1,
723 BFD_ASSERT ((bfd_size_type) (tosym - contents) == stabsec->size);
725 return bfd_set_section_contents (output_bfd, stabsec->output_section,
726 contents, (file_ptr) stabsec->output_offset,
727 stabsec->size);
760 STABSEC, this returns the new offset in the adjusted stab section,
764 _bfd_stab_section_offset (asection *stabsec,
775 if (offset >= stabsec->rawsize)
776 return offset - stabsec->rawsize + stabsec->size;