Lines Matching defs:stabsec

151 			 asection *stabsec,
165 if (stabsec->size == 0
170 if (stabsec->size % STABSIZE != 0)
180 if (bfd_is_abs_section (stabsec->output_section)
213 count = stabsec->size / STABSIZE;
223 stabsec->rawsize = stabsec->size;
228 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf)
242 symend = stabbuf + stabsec->size;
280 abfd, stabsec, (long) (sym - stabbuf));
459 stabsec->size = (count - skip) * STABSIZE;
460 if (stabsec->size == 0)
461 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
511 asection *stabsec,
524 if (stabsec->size == 0)
528 if (stabsec->size % STABSIZE != 0)
533 if ((stabsec->output_section != NULL
534 && bfd_is_abs_section (stabsec->output_section)))
545 count = stabsec->rawsize / STABSIZE;
549 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf))
557 symend = stabbuf + stabsec->rawsize;
612 /* Shrink the stabsec as needed. */
613 stabsec->size -= skip * STABSIZE;
614 if (stabsec->size == 0)
615 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP;
661 asection *stabsec,
673 return bfd_set_section_contents (output_bfd, stabsec->output_section,
674 contents, stabsec->output_offset,
675 stabsec->size);
682 BFD_ASSERT (e->offset < stabsec->rawsize);
691 symend = contents + stabsec->rawsize;
712 stabsec->output_section->size / STABSIZE - 1,
720 BFD_ASSERT ((bfd_size_type) (tosym - contents) == stabsec->size);
722 return bfd_set_section_contents (output_bfd, stabsec->output_section,
723 contents, (file_ptr) stabsec->output_offset,
724 stabsec->size);
761 _bfd_stab_section_offset (asection *stabsec,
772 if (offset >= stabsec->rawsize)
773 return offset - stabsec->rawsize + stabsec->size;