aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-11-13 17:08:28 -0500
committerDJ Delorie <dj@gcc.gnu.org>2001-11-13 17:08:28 -0500
commitc19083d85209756915bfc19d00e38d39dbb73039 (patch)
tree3653f7f254f7770099248bb332b52411a4e98d96 /gcc/config
parentb02922a4e3bcbb73a8c223a2a89ebc82f70314ab (diff)
downloadgcc-c19083d85209756915bfc19d00e38d39dbb73039.zip
gcc-c19083d85209756915bfc19d00e38d39dbb73039.tar.gz
gcc-c19083d85209756915bfc19d00e38d39dbb73039.tar.bz2
config.gcc (powerpc|rs6000): Set default cpp options based on --with-cpu settings.
* config.gcc (powerpc|rs6000): Set default cpp options based on --with-cpu settings. * config/rs6000/softfloat.h: New. From-SVN: r46993
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/softfloat.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/rs6000/softfloat.h b/gcc/config/rs6000/softfloat.h
new file mode 100644
index 0000000..c0dc10d
--- /dev/null
+++ b/gcc/config/rs6000/softfloat.h
@@ -0,0 +1,24 @@
+/* Target definitions for GNU compiler for PowerPC defaulting to -msoft-float
+ Copyright (C) 2001
+ Free Software Foundation, Inc.
+ Contributed by Red Hat Inc.
+
+This file is part of GNU CC.
+
+GNU CC 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.
+
+GNU CC 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 GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+#undef CPP_FLOAT_DEFAULT_SPEC
+#define CPP_FLOAT_DEFAULT_SPEC "-D_SOFT_FLOAT"