* tree-emutls.c (new_emutls_decl): When a var_section is requested by
the target, attach the new decl to that, not to the template section.
From-SVN: r190179
+2012-08-06 Olivier Hainque <hainque@adacore.com>
+
+ * tree-emutls.c (new_emutls_decl): When a var_section is requested by
+ the target, attach the new decl to that, not to the template section.
+
2012-08-06 Tom de Vries <tom@codesourcery.com>
* tree-switch-conversion.c (emit_case_bit_tests): Generate MINUS_EXPR in
if (!DECL_COMMON (to) && targetm.emutls.var_section)
{
DECL_SECTION_NAME (to)
- = build_string (strlen (targetm.emutls.tmpl_section),
- targetm.emutls.tmpl_section);
+ = build_string (strlen (targetm.emutls.var_section),
+ targetm.emutls.var_section);
}
/* If this variable is defined locally, then we need to initialize the