]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Tue, 9 Sep 2008 16:17:37 +0000 (16:17 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 9 Sep 2008 16:17:37 +0000 (16:17 +0000)
* 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

gcc/ChangeLog
gcc/config/i386/sol2.h
gcc/config/sol2.h
gcc/config/sparc/sol2.h

index 7e391dbd593e62bbe7ce1044132736dd68b70c20..e6b91ca8954c2aaed4ac41a7b7708aa7b5b3da7d 100644 (file)
@@ -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
index b08d56c944d3eff91ed9d068046a310f06f432f2..1d21cd9c043c2bdcca1fa06b12900b5ab32858bf 100644 (file)
@@ -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                                                           \
index 512d0ff17f5e6ab16a69144d9a6b5eb7dc7f2ef0..a8f5514f68c85391d2a2b40202b5d58b4e738318 100644 (file)
@@ -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;
index 1890ce9b1d6fdfc238bea3eab8dca7f4ce1d5c21..8e760b8e9282046c2c11967254099f79b2629fb1 100644 (file)
@@ -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                                                           \