diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 56a78b4..4ad6f1d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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. */ |