From eff1687c7f3b0d6e246579efea7f96c3bb283c57 Mon Sep 17 00:00:00 2001 From: ro Date: Tue, 9 Sep 2008 16:17:37 +0000 Subject: [PATCH] * config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ... * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here. * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140157 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/sol2.h | 5 ++++- gcc/config/sol2.h | 5 +---- gcc/config/sparc/sol2.h | 5 ++++- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e391dbd593..e6b91ca8954 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-09-09 Rainer Orth + + * config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ... + * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here. + * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here. + 2008-09-09 Jan Hubicka * profile.c (is_edge_inconsistent): Add debug output; ignore negative count diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index b08d56c944d..1d21cd9c043 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -1,6 +1,6 @@ /* Target definitions for GCC for Intel 80386 running Solaris 2 Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2007 Free Software Foundation, Inc. + 2004, 2007, 2008 Free Software Foundation, Inc. Contributed by Fred Fish (fnf@cygnus.com). This file is part of GCC. @@ -96,6 +96,9 @@ along with GCC; see the file COPYING3. If not see #define SUBTARGET_INSERT_ATTRIBUTES solaris_insert_attributes #define SUBTARGET_ATTRIBUTE_TABLE SOLARIS_ATTRIBUTE_TABLE +/* Register the Solaris-specific #pragma directives. */ +#define REGISTER_SUBTARGET_PRAGMAS() solaris_register_pragmas () + /* Output a simple call for .init/.fini. */ #define ASM_OUTPUT_CALL(FILE, FN) \ do \ diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 512d0ff17f5..a8f5514f68c 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -1,6 +1,6 @@ /* Operating system specific defines to be used when targeting GCC for any Solaris 2 system. - Copyright 2002, 2003, 2004, 2007 Free Software Foundation, Inc. + Copyright 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. @@ -233,9 +233,6 @@ __enable_execute_stack (void *addr) \ } \ while (0) -/* Register the Solaris-specific #pragma directives. */ -#define REGISTER_TARGET_PRAGMAS() solaris_register_pragmas () - extern GTY(()) tree solaris_pending_aligns; extern GTY(()) tree solaris_pending_inits; extern GTY(()) tree solaris_pending_finis; diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 1890ce9b1d6..8e760b8e928 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for SPARC running Solaris 2 Copyright 1992, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. + 2006, 2007, 2008 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@netcom.com). Additional changes by David V. Henkel-Wallace (gumby@cygnus.com). @@ -167,6 +167,9 @@ along with GCC; see the file COPYING3. If not see #define SUBTARGET_INSERT_ATTRIBUTES solaris_insert_attributes #define SUBTARGET_ATTRIBUTE_TABLE SOLARIS_ATTRIBUTE_TABLE +/* Register the Solaris-specific #pragma directives. */ +#define REGISTER_TARGET_PRAGMAS() solaris_register_pragmas () + /* Output a simple call for .init/.fini. */ #define ASM_OUTPUT_CALL(FILE, FN) \ do \ -- 2.11.0