Contents in 1999-06-04-13 of release-21-2.
[chise/xemacs-chise.git.1] / src / m / m68k.h
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 XEmacs; see the file COPYING.  If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Synched up with: FSF 19.31. */
22
23 /* The following symbol gives information on
24  the size of various data types.  */
25
26 /* Define WORD_MACHINE if addresses and such have
27  * to be corrected before they can be used as byte counts.  */
28
29 /* #define WORD_MACHINE */
30
31 /* Now define a symbol for the cpu type, if your compiler
32    does not define it automatically.  */
33
34 #ifndef m68k
35 #define m68k
36 #endif
37
38 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
39    the 24-bit bit field into an int.  In other words, if bit fields
40    are always unsigned.
41
42    If you use NO_UNION_TYPE, this flag does not matter.  */
43
44 #define EXPLICIT_SIGN_EXTEND
45
46 /* Define CANNOT_DUMP on machines where unexec does not work.
47    Then the function dump-emacs will not be defined
48    and temacs will do (load "loadup") automatically unless told otherwise.  */
49
50 /* #define CANNOT_DUMP */
51
52 /* Define VIRT_ADDR_VARIES if the virtual addresses of
53    pure and impure space as loaded can vary, and even their
54    relative order cannot be relied on.
55
56    Otherwise Emacs assumes that text space precedes data space,
57    numerically.  */
58
59 /* #define VIRT_ADDR_VARIES */
60
61 #ifdef linux
62 #ifdef __ELF__
63 #define DATA_SEG_BITS 0x80000000
64 #endif
65
66 #define NO_REMAP
67 #define TEXT_START 0
68 #endif
69
70 /* If compiling with GCC, let GCC implement alloca.  */
71 #if defined(__GNUC__) && !defined(alloca)
72 #define alloca(n) __builtin_alloca(n)
73 #define HAVE_ALLOCA
74 #endif
75 #define ASSERT_VALID_POINTER(pnt) (assert ((((int) pnt) & 1) == 0))