From 4381295b18dd8b1dd893deb66511394e7e15f927 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 25 Jun 1993 21:34:25 +0000 Subject: [PATCH] (CPP_PREDEFINES): Add __motorola__. From-SVN: r4731 --- gcc/config/m68k/3b1.h | 2 +- gcc/config/m68k/amix.h | 3 ++- gcc/config/m68k/crds.h | 2 +- gcc/config/m68k/hp320.h | 2 +- gcc/config/m68k/m68kv4.h | 3 ++- gcc/config/m68k/mot3300.h | 2 +- gcc/config/m68k/tower-as.h | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gcc/config/m68k/3b1.h b/gcc/config/m68k/3b1.h index 0fe1f7d..49f1589 100644 --- a/gcc/config/m68k/3b1.h +++ b/gcc/config/m68k/3b1.h @@ -80,7 +80,7 @@ output_file_directive ((FILE), main_input_filename) /* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc" +#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__" #undef REGISTER_NAMES #define REGISTER_NAMES \ diff --git a/gcc/config/m68k/amix.h b/gcc/config/m68k/amix.h index 40e48bf..964297b 100644 --- a/gcc/config/m68k/amix.h +++ b/gcc/config/m68k/amix.h @@ -36,7 +36,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES \ - "-Dm68k -Dunix -DAMIX -D__svr4__ -Amachine(m68k) -Acpu(m68k) -Asystem(unix) -Alint(off)" + "-Dm68k -Dunix -DAMIX -D__svr4__ -D__motorola__ \ + -Amachine(m68k) -Acpu(m68k) -Asystem(unix) -Alint(off)" /* At end of a switch table, define LDnnn iff the symbol LInnn was defined. Some SGS assemblers have a bug such that "Lnnn-LInnn-2.b(pc,d0.l*2)" diff --git a/gcc/config/m68k/crds.h b/gcc/config/m68k/crds.h index 16feb13..f0e0131 100644 --- a/gcc/config/m68k/crds.h +++ b/gcc/config/m68k/crds.h @@ -101,7 +101,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Names to predefine in the preprocessor for this target machine. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dmc68k -DM68000 -Dmc68000 -Dunos -Dunix" +#define CPP_PREDEFINES "-Dmc68k -DM68000 -Dmc68000 -Dunos -Dunix -D__motorola__" /* Register in which address to store a structure value is passed to a function. */ diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h index 307dc69..4e3eb03 100644 --- a/gcc/config/m68k/hp320.h +++ b/gcc/config/m68k/hp320.h @@ -123,7 +123,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* These are the ones defined by HPUX cc, plus mc68000 for uniformity with GCC on other 68000 systems. */ -#define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dhpux -Dunix -D__hp9000s300 -D__hp9000s200 -D__PWB -D__hpux -D__unix" +#define CPP_PREDEFINES "-Dhp9000s200 -Dhp9000s300 -DPWB -Dhpux -Dunix -D__hp9000s300 -D__hp9000s200 -D__PWB -D__hpux -D__unix -D__motorola__" /* Every structure or union's size must be a multiple of 2 bytes. */ diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h index f437bde..c4c1ebb 100644 --- a/gcc/config/m68k/m68kv4.h +++ b/gcc/config/m68k/m68kv4.h @@ -54,7 +54,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ the m68k running svr4. __svr4__ is our extension. */ #define CPP_PREDEFINES \ - "-Dm68k -Dunix -D__svr4__ -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" + "-Dm68k -Dunix -D__svr4__ -D__motorola__ \ + -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" /* Test to see if the target includes a 68881 by default, and use CPP_SPEC to control whether or not __HAVE_68881__ is defined by default or not. diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h index 3643b9b..a49ab64 100644 --- a/gcc/config/m68k/mot3300.h +++ b/gcc/config/m68k/mot3300.h @@ -218,7 +218,7 @@ output_file_directive ((FILE), main_input_filename) on the other hand I don't care what he says. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dm68k -Dunix -DsysV68" +#define CPP_PREDEFINES "-Dm68k -Dunix -DsysV68 -D__motorola__" /* Specify how to pad function arguments. Value should be `upward', `downward' or `none'. diff --git a/gcc/config/m68k/tower-as.h b/gcc/config/m68k/tower-as.h index 87cf034..ed1f0bf 100644 --- a/gcc/config/m68k/tower-as.h +++ b/gcc/config/m68k/tower-as.h @@ -38,7 +38,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Names to predefine in the preprocessor for this target machine. */ -#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600" +#define CPP_PREDEFINES "-Dunix -Dtower32 -Dtower32_600 -D__motorola__" /* Define __HAVE_68881 in preprocessor only if -m68881 is specified. This will control the use of inline 68881 insns in certain macros. -- 2.7.4