2009/6/16 Rafael Espindola <espind...@google.com>:
>> At revision 148493 decl_one_only was changed to take 2 arguments.
>> Looks like I missed winnt.c.
>
> 148492  actually. Fixed in revision 148523:
>
>
> 2009-06-16  Rafael Avila de Espindola  <espind...@google.com>
>
>        * config/i386/winnt.c (i386_pe_encode_section_info): Update call to
>        make_decl_one_only.
>
> Cheers,
> --
> Rafael Avila de Espindola
>
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
>

This is ok, too. I assume you have done a regression test? ;)

My test was successful with following patch.

Cheers,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Index: gcc/gcc/config/i386/winnt.c
===================================================================
--- gcc.orig/gcc/config/i386/winnt.c    2009-05-28 16:15:41.000000000 +0200
+++ gcc/gcc/config/i386/winnt.c 2009-06-16 11:34:48.460772000 +0200
@@ -285,7 +285,7 @@
                 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);

Reply via email to