Commit b1474d30 by Jan Hubicka Committed by Jan Hubicka

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
parent 1e081eda
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> 2015-01-28 Thomas Schwinge <thomas@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com> Bernd Schmidt <bernds@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com>
......
...@@ -58,9 +58,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -58,9 +58,9 @@ along with GCC; see the file COPYING3. If not see
#include "context.h" #include "context.h"
#include "omp-low.h" #include "omp-low.h"
const char * const tls_model_names[]={"none", "tls-emulated", "tls-real", const char * const tls_model_names[]={"none", "emulated",
"tls-global-dynamic", "tls-local-dynamic", "global-dynamic", "local-dynamic",
"tls-initial-exec", "tls-local-exec"}; "initial-exec", "local-exec"};
/* List of hooks triggered on varpool_node events. */ /* List of hooks triggered on varpool_node events. */
struct varpool_node_hook_list { struct varpool_node_hook_list {
...@@ -251,7 +251,7 @@ varpool_node::dump (FILE *f) ...@@ -251,7 +251,7 @@ varpool_node::dump (FILE *f)
if (writeonly) if (writeonly)
fprintf (f, " write-only"); fprintf (f, " write-only");
if (tls_model) if (tls_model)
fprintf (f, " %s", tls_model_names [tls_model]); fprintf (f, " tls-%s", tls_model_names [tls_model]);
fprintf (f, "\n"); fprintf (f, "\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment