Commit 4381295b by Richard Stallman

(CPP_PREDEFINES): Add __motorola__.

From-SVN: r4731
parent c2e6aff6
...@@ -80,7 +80,7 @@ output_file_directive ((FILE), main_input_filename) ...@@ -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. */ /* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc" #define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__"
#undef REGISTER_NAMES #undef REGISTER_NAMES
#define REGISTER_NAMES \ #define REGISTER_NAMES \
......
...@@ -36,7 +36,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -36,7 +36,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define 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. /* 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)" Some SGS assemblers have a bug such that "Lnnn-LInnn-2.b(pc,d0.l*2)"
......
...@@ -101,7 +101,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -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. */ /* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES #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 /* Register in which address to store a structure value
is passed to a function. */ is passed to a function. */
......
...@@ -123,7 +123,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -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 /* These are the ones defined by HPUX cc, plus mc68000 for uniformity with
GCC on other 68000 systems. */ 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. */ /* Every structure or union's size must be a multiple of 2 bytes. */
......
...@@ -54,7 +54,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -54,7 +54,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
the m68k running svr4. __svr4__ is our extension. */ the m68k running svr4. __svr4__ is our extension. */
#define CPP_PREDEFINES \ #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 /* 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. to control whether or not __HAVE_68881__ is defined by default or not.
......
...@@ -218,7 +218,7 @@ output_file_directive ((FILE), main_input_filename) ...@@ -218,7 +218,7 @@ output_file_directive ((FILE), main_input_filename)
on the other hand I don't care what he says. */ on the other hand I don't care what he says. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dm68k -Dunix -DsysV68" #define CPP_PREDEFINES "-Dm68k -Dunix -DsysV68 -D__motorola__"
/* Specify how to pad function arguments. /* Specify how to pad function arguments.
Value should be `upward', `downward' or `none'. Value should be `upward', `downward' or `none'.
......
...@@ -38,7 +38,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -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. */ /* 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. /* Define __HAVE_68881 in preprocessor only if -m68881 is specified.
This will control the use of inline 68881 insns in certain macros. This will control the use of inline 68881 insns in certain macros.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment