From: Tom Wood Date: Thu, 15 Oct 1992 12:08:51 +0000 (+0000) Subject: (CPP_PREDEFINES): Drop -Dmc88100. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf1fec41b9926d4c276011dcc8809b1ceff2d1ba;p=gcc.git (CPP_PREDEFINES): Drop -Dmc88100. (CPP_SPEC): Reproduce the predefine -Dmc88100 when -m88100 is in effect. Otherwise, supply -D__mc881x0__ when -m881x0 is in effect. From-SVN: r2474 --- diff --git a/gcc/config/m88k/luna.h b/gcc/config/m88k/luna.h index 203938d5cc4..0cf12b51aaf 100644 --- a/gcc/config/m88k/luna.h +++ b/gcc/config/m88k/luna.h @@ -37,7 +37,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Macros to be automatically defined. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES \ - "-DMACH -Dmc88100 -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2" + "-DMACH -Dm88k -Dunix -Dluna -Dluna88k -D__CLASSIFY_TYPE__=2" + +/* If -m88000 is in effect, add -Dmc88000; similarly for -m88100 and -m88110. + However, reproduce the effect of -Dmc88100 previously in CPP_PREDEFINES. + Here, the CPU_DEFAULT is assumed to be -m88100. */ +#undef CPP_SPEC +#define CPP_SPEC "%{m88000:-D__mc88000__} \ + %{!m88000:%{m88100:%{m88110:-D__mc88000__}}} \ + %{!m88000:%{!m88100:%{m88110:-D__mc88110__}}} \ + %{!m88000:%{!m88110:%{!ansi:%{traditional:-Dmc88100}} \ + -D__mc88100__ -D__mc88100}}" /* Specify extra dir to search for include files. */ #undef SYSTEM_INCLUDE_DIR