aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2010-05-29 22:24:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2010-05-29 22:24:59 +0000
commit482959e5f9a6537d94afd435bba930e0c8e64f7f (patch)
tree268ae1c49e1c3fc25091441f6dea6b9c813edfb0
parent8df9a5db771b92d45f20665e38279a18f1ebff00 (diff)
downloadgcc-482959e5f9a6537d94afd435bba930e0c8e64f7f.zip
gcc-482959e5f9a6537d94afd435bba930e0c8e64f7f.tar.gz
gcc-482959e5f9a6537d94afd435bba930e0c8e64f7f.tar.bz2
re PR target/44165 (5/15/2010 snapshot build failure on hppa Linux)
PR target/44165 * config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used. From-SVN: r160038
-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) }