diff options
author | Olivier Hainque <hainque@adacore.com> | 2012-08-06 15:15:37 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2012-08-06 15:15:37 +0000 |
commit | a4a837968d01562e9caf7930670e236ae0fbf6a9 (patch) | |
tree | 5b489492e6da10436c9bd66b78a59bf18307e78b /gcc/tree-emutls.c | |
parent | b9958d43c0e25040b6f3d4eed0a42b999c92c579 (diff) | |
download | gcc-a4a837968d01562e9caf7930670e236ae0fbf6a9.zip gcc-a4a837968d01562e9caf7930670e236ae0fbf6a9.tar.gz gcc-a4a837968d01562e9caf7930670e236ae0fbf6a9.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-emutls.c')
-rw-r--r-- | gcc/tree-emutls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-emutls.c b/gcc/tree-emutls.c index 25da389..b30469c 100644 --- a/gcc/tree-emutls.c +++ b/gcc/tree-emutls.c @@ -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 |