aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa32-linux.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6e4e63e..3f1a7e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h
index 28f5207..1ccb66c 100644
--- a/gcc/config/pa/pa32-linux.h
+++ b/gcc/config/pa/pa32-linux.h
@@ -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) }