eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been...
authorNick Clifton <nickc@redhat.com>
Tue, 11 Feb 2003 00:13:24 +0000 (00:13 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 11 Feb 2003 00:13:24 +0000 (00:13 +0000)
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

gcc/ChangeLog
gcc/config/rs6000/eabispe.h

index ab101b8..c711b38 100644 (file)
@@ -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.
index b0047cd..bfec030 100644 (file)
@@ -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