aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
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.gcc
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.gcc')
-rw-r--r--gcc/config.gcc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index f6169dd..2902973 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3409,11 +3409,15 @@ powerpc*-*-* | rs6000-*-*)
xcommon | xpower | xpower2 | xpowerpc | xrios \
| xrios1 | xrios2 | xrsc | xrsc1 \
| x601 | x602 | x603 | x603e | x604 | x604e | x620 \
- | xec603e | x740 | x750 | x401 \
- | x403 | x505 | x801 | x821 | x823 | x860)
+ | x740 | x750 | x505)
target_cpu_default2="\\\"$with_cpu\\\""
;;
+ x401 | x403 | xec603e | x801 | x821 | x823 | x860)
+ target_cpu_default2="\\\"$with_cpu\\\""
+ tm_file="$tm_file rs6000/softfloat.h"
+ ;;
+
xyes | xno)
echo "--with-cpu must be passed a value" 1>&2
exit 1