comparison src/m/7300.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 0132846995bd
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 /* machine description file for AT&T UNIX PC model 7300
2 Copyright (C) 1986 Free Software Foundation, Inc.
3 Modified for this machine by mtxinu!rtech!gonzo!daveb
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22 /* Synched up with: FSF 19.31. */
23
24 /* The following line tells the configuration script what sort of
25 operating system this machine is likely to run.
26 USUAL-OPSYS="usg5-2-2" */
27
28 /* Supposedly now these machines have flexnames.
29
30 /* # define SHORTNAMES */
31
32 /* XINT must explicitly sign-extend */
33
34 #define EXPLICIT_SIGN_EXTEND
35
36 /* Now define a symbol for the cpu type, if your compiler
37 does not define it automatically:
38 vax, m68000, ns16000 are the ones defined so far. */
39
40 # ifndef mc68k
41 # define mc68k
42 # endif
43 #ifndef m68k
44 #define m68k
45 #endif
46
47 /* Cause crt0.c to define errno. */
48
49 #define NEED_ERRNO
50
51 /* Data type of load average, as read out of kmem. */
52 /* These are commented out since it is not supported by this machine. */
53
54 /* #define LOAD_AVE_TYPE long */
55
56 /* Convert that into an integer that is 100 for a load average of 1.0 */
57
58 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
59
60 #ifdef __GNUC__
61
62 #define HAVE_ALLOCA
63
64 #else
65
66 #define SWITCH_ENUM_BUG
67 #define C_ALLOCA
68 #define STACK_DIRECTION -1
69
70 #endif
71
72 /* If you have the PD pty driver installed, uncomment the following line. */
73 /* #define HAVE_PTYS */
74
75 /* We don't have memmove. */
76 #define memmove(d, s, n) safe_bcopy (s, d, n)
77
78 /* These three lines were new in 18.50. They were said to permit
79 a demand-paged executable, but someone else says they don't work.
80 Someone else says they do. They didn't work because errno was an
81 initialized variable in crt0.c, and because of %splimit (also therein),
82 both of which have been fixed now. */
83 #define SECTION_ALIGNMENT 0x03ff
84 #define SEGMENT_MASK 0xffff
85 #define LD_SWITCH_MACHINE -z
86
87 /* Insist on using cc when compiling this. GCC may have been
88 configured to use GAS syntax, which causes problems. */
89 #define CRT0_COMPILE cc -c -O -Demacs