diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2005-06-08 20:14:19 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2005-06-08 20:14:19 +0000 |
commit | 8713190c2bad19c00c84838c04ece84b9069f01b (patch) | |
tree | d09f9660425a5e2b11f9766bc49e2743906de035 | |
parent | 2b4f149bc963d27f18019552bf7ce0adce1366ab (diff) | |
download | gcc-8713190c2bad19c00c84838c04ece84b9069f01b.zip gcc-8713190c2bad19c00c84838c04ece84b9069f01b.tar.gz gcc-8713190c2bad19c00c84838c04ece84b9069f01b.tar.bz2 |
linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use rs6000_explicit_options.
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use
rs6000_explicit_options.
From-SVN: r100775
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/linuxspe.h | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d5c57c..d900474 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-08 Aldy Hernandez <aldyh@redhat.com> + + * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use + rs6000_explicit_options. + 2005-06-08 Richard Henderson <rth@redhat.com> * config/ia64/ia64.h (FUNCTION_PROFILER): Move implementation ... diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h index f4e02eb..be48fe2 100644 --- a/gcc/config/rs6000/linuxspe.h +++ b/gcc/config/rs6000/linuxspe.h @@ -47,16 +47,16 @@ #define SUBSUBTARGET_OVERRIDE_OPTIONS \ if (rs6000_select[1].string == NULL) \ rs6000_cpu = PROCESSOR_PPC8540; \ - if (rs6000_abi_string == NULL || strstr (rs6000_abi_string, "spe") == NULL) \ + if (!rs6000_explicit_options.abi) \ rs6000_spe_abi = 1; \ - if (rs6000_float_gprs_string == NULL) \ + if (!rs6000_explicit_options.float_gprs) \ rs6000_float_gprs = 1; \ /* See note below. */ \ - /*if (rs6000_long_double_size_string == NULL)*/ \ + /*if (!rs6000_explicit_options.long_double)*/ \ /* rs6000_long_double_type_size = 128;*/ \ - if (rs6000_spe_string == NULL) \ + if (!rs6000_explicit_options.spe) \ rs6000_spe = 1; \ - if (rs6000_isel_string == NULL) \ + if (!rs6000_explicit_options.isel) \ rs6000_isel = 1; \ if (target_flags & MASK_64BIT) \ error ("-m64 not supported in this configuration") |