diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-06 15:15:37 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-06 15:15:37 +0000 |
commit | 448e3e57d75caa510a8b44572209cf13970f5346 (patch) | |
tree | 5b489492e6da10436c9bd66b78a59bf18307e78b /gcc/tree-emutls.c | |
parent | 2ca704f35d05052070c6dfb360074fd855a81ea1 (diff) | |
download | gcc-448e3e57d75caa510a8b44572209cf13970f5346.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190179 138bc75d-0d04-0410-961f-82ee72b054a4
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 25da389abbb..b30469c8e59 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 |