varpool.c (tls_model_names): Fix names.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 28 Jan 2015 19:55:13 +0000 (20:55 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 28 Jan 2015 19:55:13 +0000 (19:55 +0000)
* varpool.c (tls_model_names): Fix names.
(varpool_node::dump): Dump tls- prefix for tls models.

From-SVN: r220213

gcc/ChangeLog
gcc/varpool.c

index 6b957bf608680b107f2cdec63c48e630c8cdb549..e39a38376a7fff97c0ed502f3704d5f79c16638f 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-28  Jan Hubicka  <hubicka@ucw.cz>
+
+       * varpool.c (tls_model_names): Fix names.
+       (varpool_node::dump): Dump tls- prefix for tls models.
+
 2015-01-28  Thomas Schwinge  <thomas@codesourcery.com>
            Bernd Schmidt  <bernds@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
index 9c8f1ebd426ea9c44c3b02d7dbd5145c24eb4823..bd9de6b39b6ecfecbc59f3124025d121034857bc 100644 (file)
@@ -58,9 +58,9 @@ along with GCC; see the file COPYING3.  If not see
 #include "context.h"
 #include "omp-low.h"
 
-const char * const tls_model_names[]={"none", "tls-emulated", "tls-real",
-                                     "tls-global-dynamic", "tls-local-dynamic",
-                                     "tls-initial-exec", "tls-local-exec"};
+const char * const tls_model_names[]={"none", "emulated",
+                                     "global-dynamic", "local-dynamic",
+                                     "initial-exec", "local-exec"};
 
 /* List of hooks triggered on varpool_node events.  */
 struct varpool_node_hook_list {
@@ -251,7 +251,7 @@ varpool_node::dump (FILE *f)
   if (writeonly)
     fprintf (f, " write-only");
   if (tls_model)
-    fprintf (f, " %s", tls_model_names [tls_model]);
+    fprintf (f, " tls-%s", tls_model_names [tls_model]);
   fprintf (f, "\n");
 }