* bfd-in.h (struct stab_info): Move from stabs.c.
[deliverable/binutils-gdb.git] / bfd / coff-ppc.c
index 799178e0891b2c63a660560552010c6b9f2c5dad..c1eca470c87c9f299141fd6377abfec56b900a19 100644 (file)
@@ -2328,6 +2328,8 @@ ppc_bfd_coff_final_link (abfd, info)
              if (info->relocatable)
                o->reloc_count += sec->reloc_count;
 
+             if (sec->rawsize > max_contents_size)
+               max_contents_size = sec->rawsize;
              if (sec->size > max_contents_size)
                max_contents_size = sec->size;
              if (sec->lineno_count > max_lineno_count)
@@ -2663,7 +2665,7 @@ ppc_bfd_coff_final_link (abfd, info)
     }
 
   /* If we have optimized stabs strings, output them.  */
-  if (coff_hash_table (info)->stab_info != NULL)
+  if (coff_hash_table (info)->stab_info.stabstr != NULL)
     {
       if (! _bfd_write_stab_strings (abfd, &coff_hash_table (info)->stab_info))
        return FALSE;
This page took 0.023608 seconds and 4 git commands to generate.