diff options
| author | Richard M. Stallman | 1995-10-31 08:44:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-31 08:44:46 +0000 |
| commit | 0dc7e4aa40f3cde6b72d6240f32a66dcf2cff0ba (patch) | |
| tree | 2bbf3f81cb3b0df49f679123284d279572f35ed5 /src | |
| parent | e1fd57e30e4612c0688d8acd8af76290b85d6e36 (diff) | |
| download | emacs-0dc7e4aa40f3cde6b72d6240f32a66dcf2cff0ba.tar.gz emacs-0dc7e4aa40f3cde6b72d6240f32a66dcf2cff0ba.zip | |
Initial revision
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/m68k.h | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/src/m/m68k.h b/src/m/m68k.h new file mode 100644 index 00000000000..4430c15db23 --- /dev/null +++ b/src/m/m68k.h | |||
| @@ -0,0 +1,88 @@ | |||
| 1 | /* Machine description file for generic Motorola 68k. | ||
| 2 | Copyright (C) 1985, 1995 Free Software Foundation, Inc. | ||
| 3 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 2, or (at your option) | ||
| 9 | any later version. | ||
| 10 | |||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with GNU Emacs; see the file COPYING. If not, write to | ||
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 19 | |||
| 20 | |||
| 21 | /* The following three symbols give information on | ||
| 22 | the size of various data types. */ | ||
| 23 | |||
| 24 | |||
| 25 | /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | ||
| 26 | is the most significant byte. */ | ||
| 27 | |||
| 28 | #define WORDS_BIG_ENDIAN | ||
| 29 | |||
| 30 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 31 | * group of arguments and treat it as an array of the arguments. */ | ||
| 32 | |||
| 33 | /* #define NO_ARG_ARRAY */ | ||
| 34 | |||
| 35 | /* Define WORD_MACHINE if addresses and such have | ||
| 36 | * to be corrected before they can be used as byte counts. */ | ||
| 37 | |||
| 38 | /* #define WORD_MACHINE */ | ||
| 39 | |||
| 40 | /* Now define a symbol for the cpu type, if your compiler | ||
| 41 | does not define it automatically. */ | ||
| 42 | |||
| 43 | #ifndef m68k | ||
| 44 | #define m68k | ||
| 45 | #endif | ||
| 46 | |||
| 47 | /* Use type int rather than a union, to represent Lisp_Object */ | ||
| 48 | /* This is desirable for most machines. */ | ||
| 49 | |||
| 50 | #define NO_UNION_TYPE | ||
| 51 | |||
| 52 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | ||
| 53 | the 24-bit bit field into an int. In other words, if bit fields | ||
| 54 | are always unsigned. | ||
| 55 | |||
| 56 | If you use NO_UNION_TYPE, this flag does not matter. */ | ||
| 57 | |||
| 58 | #define EXPLICIT_SIGN_EXTEND | ||
| 59 | |||
| 60 | /* Define CANNOT_DUMP on machines where unexec does not work. | ||
| 61 | Then the function dump-emacs will not be defined | ||
| 62 | and temacs will do (load "loadup") automatically unless told otherwise. */ | ||
| 63 | |||
| 64 | /* #define CANNOT_DUMP */ | ||
| 65 | |||
| 66 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 67 | pure and impure space as loaded can vary, and even their | ||
| 68 | relative order cannot be relied on. | ||
| 69 | |||
| 70 | Otherwise Emacs assumes that text space precedes data space, | ||
| 71 | numerically. */ | ||
| 72 | |||
| 73 | /* #define VIRT_ADDR_VARIES */ | ||
| 74 | |||
| 75 | #ifdef linux | ||
| 76 | #ifdef __ELF__ | ||
| 77 | #define DATA_SEG_BITS 0x80000000 | ||
| 78 | #endif | ||
| 79 | |||
| 80 | #define NO_REMAP | ||
| 81 | #define TEXT_START 0 | ||
| 82 | #endif | ||
| 83 | |||
| 84 | /* If compiling with GCC, let GCC implement alloca. */ | ||
| 85 | #if defined(__GNUC__) && !defined(alloca) | ||
| 86 | #define alloca(n) __builtin_alloca(n) | ||
| 87 | #define HAVE_ALLOCA | ||
| 88 | #endif | ||