]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only.
authorRafael Avila de Espindola <espindola@google.com>
Tue, 16 Jun 2009 10:59:59 +0000 (10:59 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Tue, 16 Jun 2009 10:59:59 +0000 (10:59 +0000)
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

gcc/ChangeLog
gcc/config/i386/winnt.c

index b0164814370d8a904dc9fab0de7953d4aed195e4..32e217337097cdd29f8ceae1f8fda49e42926c1c 100644 (file)
@@ -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
index 812cf798f7671465c01229168cd47e3cf2f96039..fe5081d37a5df3f2a41cbfd432b4a37fe73ec747 100644 (file)
@@ -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);