From daa0eeb8ab04b67053944c8990643e1efe8c913b Mon Sep 17 00:00:00 2001 From: Rafael Avila de Espindola Date: Tue, 16 Jun 2009 10:59:59 +0000 Subject: [PATCH] winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only. 2009-06-16 Rafael Avila de Espindola * config/i386/winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only. From-SVN: r148523 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/winnt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0164814370..32e21733709 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-16 Rafael Avila de Espindola + + * config/i386/winnt.c (i386_pe_encode_section_info): Update call to + make_decl_one_only. + 2009-06-16 Martin Jambor PR tree-optimization/40432 diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 812cf798f76..fe5081d37a5 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); -- 2.11.4.GIT