tree-emutls.c (new_emutls_decl): When a var_section is requested by the target...
* 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
This commit is contained in:
parent
b9958d43c0
commit
a4a837968d
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -312,8 +312,8 @@ new_emutls_decl (tree decl, tree alias_of)
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue