aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sol2-10.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2006-03-21 21:59:11 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-03-21 20:59:11 +0000
commitec23ed606daa42ee11510be00add6f2a6350d565 (patch)
treef6e4ea73d450d97d8eff8a07a819a047dcbb917b /gcc/config/sol2-10.h
parent5ded46ebfa8a73cd3931b3c1831d38dc4acea753 (diff)
downloadgcc-ec23ed606daa42ee11510be00add6f2a6350d565.zip
gcc-ec23ed606daa42ee11510be00add6f2a6350d565.tar.gz
gcc-ec23ed606daa42ee11510be00add6f2a6350d565.tar.bz2
config.gcc (i[34567]86-*-solaris2*): Add config/sol2-10.h to tm_file on Solaris 10 and later.
2006-03-21 Eric Botcazou <ebotcazou@libertysurf.fr> * config.gcc (i[34567]86-*-solaris2*): Add config/sol2-10.h to tm_file on Solaris 10 and later. (sparc64-*-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. * config/sol26.h: Rename to config/sol2-6.h. * config/sol2-10.h: New file. testsuite/ * gcc.dg/builtins-config.h (Solaris case): Define HAVE_C99_RUNTIME if _STDC_C99 is defined. * gcc.dg/builtins-18.c: Pass -std=c99 on Solaris. * gcc.dg/builtins-20.c: Likewise. * gcc.dg/builtins-53.c: Likewise. * gcc.dg/single-precision-constant.c: Likewise. Also pass -mmacosx-version-min=10.3 on PowerPC/Darwin. From-SVN: r112255
Diffstat (limited to 'gcc/config/sol2-10.h')
-rw-r--r--gcc/config/sol2-10.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/sol2-10.h b/gcc/config/sol2-10.h
new file mode 100644
index 0000000..1da6bee
--- /dev/null
+++ b/gcc/config/sol2-10.h
@@ -0,0 +1,24 @@
+/* Operating system specific defines to be used when targeting GCC for any
+ Solaris 2 system starting from Solaris 10.
+ Copyright 2006 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING. If not, write to
+the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
+
+/* Solaris 10 has the float and long double forms of math functions. */
+#undef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 1