From 482959e5f9a6537d94afd435bba930e0c8e64f7f Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 29 May 2010 22:24:59 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa32-linux.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e4e63efc79..3f1a7e34bbe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-29 John David Anglin + + PR target/44165 + * config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used. + 2010-05-29 Jan Hubicka * 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 28f52075a1f..1ccb66c8ca1 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) }