Hi, this patch fixes dumping of tls models. tls-real is not really a model, just equivalent of tls-global-dynamic.
Comitted as obvious. Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 220212) +++ ChangeLog (working copy) @@ -1,3 +1,8 @@ +2015-01-28 Jan Hubicka <hubi...@ucw.cz> + + * varpool.c (tls_model_names): Fix names. + (varpool_node::dump): Dump tls- prefix for tls models. + 2015-01-28 Thomas Schwinge <tho...@codesourcery.com> Bernd Schmidt <ber...@codesourcery.com> Nathan Sidwell <nat...@codesourcery.com> Index: varpool.c =================================================================== --- varpool.c (revision 220212) +++ varpool.c (working copy) @@ -58,9 +58,9 @@ along with GCC; see the file COPYING3. #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"); }