mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-22 03:40:26 +08:00
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
@ -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…
x
Reference in New Issue
Block a user