]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR target/44165
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 22:24:59 +0000 (22:24 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 May 2010 22:24:59 +0000 (22:24 +0000)
* config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160038 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa32-linux.h

index 6e4e63efc795879dff9a2dd90b1298ef958ab555..3f1a7e34bbe5d71b9719398a88bb7e21dae1afe4 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/44165
+       * config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used.
+
 2010-05-29  Jan Hubicka  <jh@suse.cz>
 
        * tree-vrp.c (debug_value_range, debug_all_value_ranges,
index 28f52075a1fc2c9c5ac94714b1c91ec96c635b8a..1ccb66c8ca163f100ad48cf192010dfb602c6efb 100644 (file)
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3.  If not see
 "      .text\n"                                                        \
 "      .word __canonicalize_funcptr_for_compare-$PIC_pcrel$0");        \
   STATIC func_ptr __CTOR_LIST__[1]                                     \
-    __attribute__ ((__unused__, section(".ctors"),                     \
+    __attribute__ ((__used__, section(".ctors"),                       \
                    aligned(sizeof(func_ptr))))                         \
     = { (func_ptr) (-1) }