Lines Matching refs:stabsec

150 			 asection *stabsec,  in _bfd_link_section_stabs()  argument
164 if (stabsec->size == 0 in _bfd_link_section_stabs()
169 if (stabsec->size % STABSIZE != 0) in _bfd_link_section_stabs()
179 if (bfd_is_abs_section (stabsec->output_section) in _bfd_link_section_stabs()
212 count = stabsec->size / STABSIZE; in _bfd_link_section_stabs()
222 stabsec->rawsize = stabsec->size; in _bfd_link_section_stabs()
227 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf) in _bfd_link_section_stabs()
241 symend = stabbuf + stabsec->size; in _bfd_link_section_stabs()
279 abfd, stabsec, (long) (sym - stabbuf)); in _bfd_link_section_stabs()
460 stabsec->size = (count - skip) * STABSIZE; in _bfd_link_section_stabs()
461 if (stabsec->size == 0) in _bfd_link_section_stabs()
462 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP; in _bfd_link_section_stabs()
511 asection *stabsec, in _bfd_discard_section_stabs() argument
524 if (stabsec->size == 0) in _bfd_discard_section_stabs()
528 if (stabsec->size % STABSIZE != 0) in _bfd_discard_section_stabs()
533 if ((stabsec->output_section != NULL in _bfd_discard_section_stabs()
534 && bfd_is_abs_section (stabsec->output_section))) in _bfd_discard_section_stabs()
545 count = stabsec->rawsize / STABSIZE; in _bfd_discard_section_stabs()
549 if (!bfd_malloc_and_get_section (abfd, stabsec, &stabbuf)) in _bfd_discard_section_stabs()
557 symend = stabbuf + stabsec->rawsize; in _bfd_discard_section_stabs()
613 stabsec->size -= skip * STABSIZE; in _bfd_discard_section_stabs()
614 if (stabsec->size == 0) in _bfd_discard_section_stabs()
615 stabsec->flags |= SEC_EXCLUDE | SEC_KEEP; in _bfd_discard_section_stabs()
661 asection *stabsec, in _bfd_write_section_stabs() argument
673 return bfd_set_section_contents (output_bfd, stabsec->output_section, in _bfd_write_section_stabs()
674 contents, stabsec->output_offset, in _bfd_write_section_stabs()
675 stabsec->size); in _bfd_write_section_stabs()
682 BFD_ASSERT (e->offset < stabsec->rawsize); in _bfd_write_section_stabs()
691 symend = contents + stabsec->rawsize; in _bfd_write_section_stabs()
712 stabsec->output_section->size / STABSIZE - 1, in _bfd_write_section_stabs()
720 BFD_ASSERT ((bfd_size_type) (tosym - contents) == stabsec->size); in _bfd_write_section_stabs()
722 return bfd_set_section_contents (output_bfd, stabsec->output_section, in _bfd_write_section_stabs()
723 contents, (file_ptr) stabsec->output_offset, in _bfd_write_section_stabs()
724 stabsec->size); in _bfd_write_section_stabs()
761 _bfd_stab_section_offset (asection *stabsec, in _bfd_stab_section_offset() argument
772 if (offset >= stabsec->rawsize) in _bfd_stab_section_offset()
773 return offset - stabsec->rawsize + stabsec->size; in _bfd_stab_section_offset()