diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2008-09-09 16:17:37 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2008-09-09 16:17:37 +0000 |
commit | 00efcc2b88028e7582b1090617125256e3cd7292 (patch) | |
tree | 07cf7454550449b510a9f998fb320045b72ff03b /gcc | |
parent | 0b57670302695b76dffb7c590f250360977d38b7 (diff) | |
download | gcc-00efcc2b88028e7582b1090617125256e3cd7292.zip gcc-00efcc2b88028e7582b1090617125256e3cd7292.tar.gz gcc-00efcc2b88028e7582b1090617125256e3cd7292.tar.bz2 |
sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
* config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
* config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here.
* config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here.
From-SVN: r140157
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/sol2.h | 5 | ||||
-rw-r--r-- | gcc/config/sol2.h | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 5 |
4 files changed, 15 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e391db..e6b91ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * 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 <jh@suse.cz> * 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 b08d56c..1d21cd9 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 512d0ff..a8f5514 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 1890ce9..8e760b8 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 \ |