aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-06-16 10:59:59 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-06-16 10:59:59 +0000
commitdaa0eeb8ab04b67053944c8990643e1efe8c913b (patch)
treed3344c36474a34731723aa9447f4b877bf786763
parent0ec19b8c10ff2565ff2ffbff4d98fa3162d297d5 (diff)
downloadgcc-daa0eeb8ab04b67053944c8990643e1efe8c913b.zip
gcc-daa0eeb8ab04b67053944c8990643e1efe8c913b.tar.gz
gcc-daa0eeb8ab04b67053944c8990643e1efe8c913b.tar.bz2
winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only.
2009-06-16 Rafael Avila de Espindola <espindola@google.com> * config/i386/winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only. From-SVN: r148523
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/winnt.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b016481..32e2173 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-16 Rafael Avila de Espindola <espindola@google.com>
+
+ * config/i386/winnt.c (i386_pe_encode_section_info): Update call to
+ make_decl_one_only.
+
2009-06-16 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/40432
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c
index 812cf79..fe5081d 100644
--- a/gcc/config/i386/winnt.c
+++ b/gcc/config/i386/winnt.c
@@ -285,7 +285,7 @@ i386_pe_encode_section_info (tree decl, rtx rtl, int first)
ctor is protected by a link-once guard variable, so that
the object still has link-once semantics, */
|| TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (decl)))
- make_decl_one_only (decl);
+ make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
else
error ("%q+D:'selectany' attribute applies only to "
"initialized objects", decl);