diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-28 19:55:13 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-28 19:55:13 +0000 |
commit | 8b741ed1cff1947d63ced4a2477034bb57969d61 (patch) | |
tree | 56ed2c18ba676a13db4fa5a019db8403a660940a | |
parent | 16cd1159a4d3713ba87db1c8b9b669caa9231613 (diff) | |
download | gcc-8b741ed1cff1947d63ced4a2477034bb57969d61.tar.gz |
* varpool.c (tls_model_names): Fix names.
(varpool_node::dump): Dump tls- prefix for tls models.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220213 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/varpool.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b957bf6086..e39a38376a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> 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"); } |