Initial revision
[chise/xemacs-chise.git.1] / src / m / cnvrgnt.h
1 /* machine description file for convergent S series.
2    Copyright (C) 1989 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 /* Define WORD_MACHINE if addresses and such have
24  * to be corrected before they can be used as byte counts.  */
25
26 /* #define WORD_MACHINE */
27
28 /* Now define a symbol for the cpu type, if your compiler
29    does not define it automatically.  */
30
31 #define m68000
32
33 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
34    the bit field into an int.  In other words, if bit fields
35    are always unsigned.
36
37    If you use NO_UNION_TYPE, this flag does not matter.  */
38
39 #define EXPLICIT_SIGN_EXTEND
40
41 /* Data type of load average, as read out of kmem.
42    These are commented out since it is not supported by this machine.  */
43
44 #define LOAD_AVE_TYPE double
45
46 /* Convert that into an integer that is 100 for a load average of 1.0 */
47
48 #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
49
50 /* Define CANNOT_DUMP on machines where unexec does not work.
51    Then the function dump-emacs will not be defined
52    and temacs will do (load "loadup") automatically unless told otherwise.  */
53
54 /* #define CANNOT_DUMP */
55
56 /* Define VIRT_ADDR_VARIES if the virtual addresses of
57    pure and impure space as loaded can vary, and even their
58    relative order cannot be relied on.
59
60    Otherwise Emacs assumes that text space precedes data space,
61    numerically.  */
62
63 #undef VIRT_ADDR_VARIES
64
65 /* Define C_ALLOCA if this machine does not support a true alloca
66    and the one written in C should be used instead.
67    Define HAVE_ALLOCA to say that the system provides a properly
68    working alloca function and it should be used.
69    Define neither one if an assembler-language alloca
70    in the file alloca.s should be used.  */
71
72 #define C_ALLOCA
73 #undef HAVE_ALLOCA
74
75 /* Define NO_REMAP if memory segmentation makes it not work well
76    to change the boundary between the text section and data section
77    when Emacs is dumped.  If you define this, the preloaded Lisp
78    code will not be sharable; but that's better than failing completely.  */
79
80 #define NO_REMAP
81 \f
82 /* Change some things to avoid bugs in compiler.  */
83
84 #define SWITCH_ENUM_BUG
85
86 /* grows towards lower addresses.  */
87
88 #define STACK_DIRECTION -1
89
90 /* some errno.h's don't actually allocate the variable itself.
91    Cause crt0.c to define errno.  */
92
93 #define NEED_ERRNO