]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/toplev.c
gcc/ChangeLog:
[thirdparty/gcc.git] / gcc / toplev.c
index 56a78b44e60c0e37601cb3037e712af0665eaeac..4ad6f1d983e5f08bb6c54d67d9b9d4cadc8fd9ba 100644 (file)
@@ -1048,11 +1048,14 @@ compile_file (void)
   if (flag_mudflap)
     mudflap_finish_file ();
 
+  /* Likewise for emulated thread-local storage.  */
+  if (!targetm.have_tls)
+    emutls_finish ();
+
   output_shared_constant_pool ();
   output_object_blocks ();
 
   /* Write out any pending weak symbol declarations.  */
-
   weak_finish ();
 
   /* Do dbx symbols.  */