]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 17 May 2003 13:47:44 +0000 (13:47 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 17 May 2003 13:47:44 +0000 (13:47 +0000)
* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
* config/sparc/liteelf.h, config/sparc/openbsd64.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
Update for use of TARGET_SUB_OS_CPP_BUILTINS.

From-SVN: r66905

gcc/ChangeLog
gcc/config/sol2.h
gcc/config/sparc/liteelf.h
gcc/config/sparc/openbsd64.h
gcc/config/sparc/rtemself.h
gcc/config/sparc/sol2-64.h
gcc/config/sparc/sp64-elf.h
gcc/config/sparc/sp86x-elf.h

index 12293912dbfe70adffcd87adb7579ba2848eb288..d15fadc6626f002f3d3499212192b80c8a00939f 100644 (file)
@@ -1,3 +1,11 @@
+2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
+
+       * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
+       * config/sparc/liteelf.h, config/sparc/openbsd64.h,
+       config/sparc/rtemself.h, config/sparc/sol2-64.h,
+       config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
+       Update for use of TARGET_SUB_OS_CPP_BUILTINS.
+
 2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
 
        * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
index c5980fbe16896a744a6a7d16065382ceaedffe47..8dfe8e73a670bf2e33ea415f250d3cdb1af887c2 100644 (file)
@@ -53,6 +53,7 @@ Boston, MA 02111-1307, USA.  */
 "
 
 /* Names to predefine in the preprocessor for this target machine.  */
+#define TARGET_SUB_OS_CPP_BUILTINS()
 #define TARGET_OS_CPP_BUILTINS()                       \
     do {                                               \
        builtin_define_std ("unix");                    \
@@ -62,7 +63,7 @@ Boston, MA 02111-1307, USA.  */
        builtin_define ("__PRAGMA_REDEFINE_EXTNAME");   \
        builtin_assert ("system=unix");                 \
        builtin_assert ("system=svr4");                 \
-       /* For C++ we need to add some additional macro \
+       /* For C++ we need to add some additional macro \
           definitions required by the C++ standard     \
           library.  */                                 \
        if (c_language == clk_cplusplus)                \
@@ -72,6 +73,7 @@ Boston, MA 02111-1307, USA.  */
            builtin_define ("_LARGEFILE64_SOURCE=1");   \
            builtin_define ("__EXTENSIONS__");          \
          }                                             \
+       TARGET_SUB_OS_CPP_BUILTINS();                   \
     } while (0)
 
 /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
index 04ad6e11c7c277311a14680acdbee5bf88fb8491..41b49e35116693d16d770857325d79f284cfbaa8 100644 (file)
@@ -19,7 +19,8 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#define TARGET_OS_CPP_BUILTINS()               \
+#undef TARGET_SUB_OS_CPP_BUILTINS
+#define TARGET_SUB_OS_CPP_BUILTINS()           \
   do                                           \
     {                                          \
        builtin_define ("__sparclite__");       \
index 78c2fad80a886e4f6eef2652c9f648dfd1efa8b2..c3d6dfc690c58d9b182fd995d42c323837b4b76b 100644 (file)
@@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA.  */
 #define SPARC_DEFAULT_CMODEL CM_MEDMID
 
 /* Target OS builtins.  */
-#undef TARGET_OS_CPP_BUILTINS   /* Defined in sp64-elf.h.  */
 #define TARGET_OS_CPP_BUILTINS()               \
   do                                           \
     {                                          \
index 3bd957115723281a80fd60e3fd80b46162da66de..208292911fe1b042a438304dd3a9ddd6695adcc6 100644 (file)
@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 /* Target OS builtins.  */
-#define TARGET_OS_CPP_BUILTINS()               \
+#define TARGET_SUB_OS_CPP_BUILTINS()           \
   do                                           \
     {                                          \
        builtin_define_std ("sparc");           \
index 18e17428a024295ababee4e1ef51b22d7d8d0d01..fa04e73ee7c156ccc7450f792240b17bac4aa678 100644 (file)
@@ -7,7 +7,8 @@
    MASK_STACK_BIAS + MASK_FPU + MASK_LONG_DOUBLE_128)
 
 /* Target OS builtins.  */
-#define TARGET_OS_CPP_BUILTINS()               \
+#undef TARGET_SUB_OS_CPP_BUILTINS
+#define TARGET_SUB_OS_CPP_BUILTINS()           \
   do                                           \
     {                                          \
        builtin_define_std ("sparc");           \
index 652e7339535d475c4c080d18bafa7863e5d89783..5592a6efc3410a86f7d7f5fd7971853cac43a393 100644 (file)
@@ -38,8 +38,9 @@ Boston, MA 02111-1307, USA.  */
 #undef SPARC_DEFAULT_CMODEL
 #define SPARC_DEFAULT_CMODEL CM_EMBMEDANY
 
-/* Target OS builtins.  */
-#define TARGET_OS_CPP_BUILTINS()               \
+/* Target OS builtins for config/sol.h.  */
+#undef TARGET_SUB_OS_CPP_BUILTINS
+#define TARGET_SUB_OS_CPP_BUILTINS()           \
   do                                           \
     {                                          \
        builtin_define_std ("sparc");           \
index 86aa4db2a316306b09869d4f43594341ee168dd6..e9e8cdb12480597baefcc5b7ba00967c6c781880 100644 (file)
@@ -19,7 +19,8 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#define TARGET_OS_CPP_BUILTINS()               \
+#undef  TARGET_SUB_OS_CPP_BUILTINS
+#define TARGET_SUB_OS_CPP_BUILTINS()           \
   do                                           \
     {                                          \
        builtin_define ("__sparclite86x__");    \