aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-11 00:13:24 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2003-02-11 00:13:24 +0000
commit2948ade79edab8c79fc505221a3e2b5de92f0d2d (patch)
treea264d36b791cc084b6be21b80f7b2b028edf4a73
parentff23b16ca751a71229f1830e59c277b1ff82cfdb (diff)
downloadgcc-2948ade79edab8c79fc505221a3e2b5de92f0d2d.zip
gcc-2948ade79edab8c79fc505221a3e2b5de92f0d2d.tar.gz
gcc-2948ade79edab8c79fc505221a3e2b5de92f0d2d.tar.bz2
eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been specified on the command line.
2003-02-10 Nick Clifton <nickc@redhat.com> Aldy Hernandez <aldyh@redhat.com> * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been specified on the command line. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r62662
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/eabispe.h12
2 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ab101b8..c711b38 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-10 Nick Clifton <nickc@redhat.com>
+ Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
+ override options which have been specified on the command line.
+
2003-02-10 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (abssf2): New.
diff --git a/gcc/config/rs6000/eabispe.h b/gcc/config/rs6000/eabispe.h
index b0047cd..bfec030 100644
--- a/gcc/config/rs6000/eabispe.h
+++ b/gcc/config/rs6000/eabispe.h
@@ -28,12 +28,16 @@ Boston, MA 02111-1307, USA. */
#undef SUBSUBTARGET_OVERRIDE_OPTIONS
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
- rs6000_cpu = PROCESSOR_PPC8540; \
- rs6000_spe_abi = 1; \
+ if (rs6000_select[1].string == NULL) \
+ rs6000_cpu = PROCESSOR_PPC8540; \
+ if (rs6000_abi_string == NULL || strstr (rs6000_abi_string, "spe") == NULL) \
+ rs6000_spe_abi = 1; \
rs6000_fprs = 0; \
/* See note below. */ \
- /*rs6000_long_double_type_size = 128;*/ \
- rs6000_isel = 1
+ /*if (rs6000_long_double_size_string == NULL)*/ \
+ /* rs6000_long_double_type_size = 128;*/ \
+ if (rs6000_isel_string == NULL) \
+ rs6000_isel = 1
/*
The e500 ABI says that either long doubles are 128 bits, or if