summaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-01-28 20:55:13 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-01-28 19:55:13 +0000
commitb1474d30f9ef6570beb3a9263ae520dc1ac1bb3a (patch)
tree56ed2c18ba676a13db4fa5a019db8403a660940a /gcc/varpool.c
parent1e081edaadf33991b935c0934e591b3fad6a4b67 (diff)
varpool.c (tls_model_names): Fix names.
* varpool.c (tls_model_names): Fix names. (varpool_node::dump): Dump tls- prefix for tls models. From-SVN: r220213
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index 9c8f1ebd426..bd9de6b39b6 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -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");
}