* write.c (write_object_file): Set finalize_syms = 1 before
authorAlan Modra <amodra@gmail.com>
Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)
size_seg is called.

gas/ChangeLog
gas/write.c

index 07cb17af306d2bf0de63791c7e2f8f7492836304..01cc01741a6507daa99dd5bfeba7f32857e82898 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-24  Alan Modra  <amodra@one.net.au>
+
+       * write.c (write_object_file): Set finalize_syms = 1 before
+       size_seg is called.
+
 2001-05-23  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
index 7e9317fb30f5fa3f2fe8aa906e4152af45848c4d..7b9e08039e7edc0d7a19ee8528229b444ca1b479 100644 (file)
@@ -1574,13 +1574,14 @@ write_object_file ()
       if (!changed)
        break;
     }
+  /* Relaxation has completed.  Freeze all syms.  */
+  finalize_syms = 1;
+
   bfd_map_over_sections (stdoutput, size_seg, (char *) 0);
 #else
   relax_and_size_all_segments ();
-#endif /* BFD_ASSEMBLER  */
-
-  /* Relaxation has completed.  Freeze all syms.  */
   finalize_syms = 1;
+#endif /* BFD_ASSEMBLER  */
 
 #if defined (BFD_ASSEMBLER) && defined (OBJ_COFF) && defined (TE_GO32)
   /* Now that the segments have their final sizes, run through the
This page took 0.032593 seconds and 4 git commands to generate.