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) }