Lines Matching refs:sinfo
149 struct stab_info *sinfo, in _bfd_link_section_stabs() argument
187 if (sinfo->stabstr == NULL) in _bfd_link_section_stabs()
193 sinfo->strings = _bfd_stringtab_init (); in _bfd_link_section_stabs()
194 if (sinfo->strings == NULL) in _bfd_link_section_stabs()
197 (void) _bfd_stringtab_add (sinfo->strings, "", TRUE, TRUE); in _bfd_link_section_stabs()
198 if (! bfd_hash_table_init (&sinfo->includes, in _bfd_link_section_stabs()
204 sinfo->stabstr = bfd_make_section_anyway_with_flags (abfd, ".stabstr", in _bfd_link_section_stabs()
206 if (sinfo->stabstr == NULL) in _bfd_link_section_stabs()
284 *pstridx = _bfd_stringtab_add (sinfo->strings, string, TRUE, TRUE); in _bfd_link_section_stabs()
364 bfd_hash_lookup (&sinfo->includes, string, TRUE, TRUE); in _bfd_link_section_stabs()
391 bfd_hash_allocate (&sinfo->includes, sizeof *t); in _bfd_link_section_stabs()
464 sinfo->stabstr->size = _bfd_stringtab_size (sinfo->strings); in _bfd_link_section_stabs()
660 struct stab_info *sinfo, in _bfd_write_section_stabs() argument
709 bfd_put_32 (output_bfd, _bfd_stringtab_size (sinfo->strings), in _bfd_write_section_stabs()
730 _bfd_write_stab_strings (bfd *output_bfd, struct stab_info *sinfo) in _bfd_write_stab_strings() argument
732 if (bfd_is_abs_section (sinfo->stabstr->output_section)) in _bfd_write_stab_strings()
736 BFD_ASSERT ((sinfo->stabstr->output_offset in _bfd_write_stab_strings()
737 + _bfd_stringtab_size (sinfo->strings)) in _bfd_write_stab_strings()
738 <= sinfo->stabstr->output_section->size); in _bfd_write_stab_strings()
741 (file_ptr) (sinfo->stabstr->output_section->filepos in _bfd_write_stab_strings()
742 + sinfo->stabstr->output_offset), in _bfd_write_stab_strings()
746 if (! _bfd_stringtab_emit (output_bfd, sinfo->strings)) in _bfd_write_stab_strings()
750 _bfd_stringtab_free (sinfo->strings); in _bfd_write_stab_strings()
751 bfd_hash_table_free (&sinfo->includes); in _bfd_write_stab_strings()