From 2948ade79edab8c79fc505221a3e2b5de92f0d2d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Feb 2003 00:13:24 +0000 Subject: [PATCH] eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been specified on the command line. 2003-02-10 Nick Clifton Aldy Hernandez * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not override options which have been specified on the command line. Co-Authored-By: Aldy Hernandez From-SVN: r62662 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/eabispe.h | 12 ++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab101b8063f..c711b38f23e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-02-10 Nick Clifton + Aldy Hernandez + + * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not + override options which have been specified on the command line. + 2003-02-10 Kazu Hirata * config/h8300/h8300.md (abssf2): New. diff --git a/gcc/config/rs6000/eabispe.h b/gcc/config/rs6000/eabispe.h index b0047cd0c8a..bfec030b9de 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 -- 2.30.2