comparison src/m/sps7.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 Bull SPS-7.
2 Copyright (C) 1986 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 line tells the configuration script what sort of
24 operating system this machine is likely to run.
25 USUAL-OPSYS="usg5-2" */
26
27 /* Say this machine is a 68000 */
28
29 #ifndef m68000
30 #define m68000
31 #endif
32
33 #define sps7
34
35 /* XINT must explicitly sign-extend */
36
37 #define EXPLICIT_SIGN_EXTEND
38
39 /* Data type of load average, as read out of kmem. */
40 /* Suspect there is something weird about this machine, so turn it off. */
41
42 /* #define LOAD_AVE_TYPE long */
43
44 /* Convert that into an integer that is 100 for a load average of 1.0 */
45
46 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
47
48 #define SMX
49 #define V3x
50
51 /*
52 * Define HAVE_PTYS if the system supports pty devices.
53 */
54
55 #define HAVE_PTYS
56
57 /* Have the socketpair call
58 */
59
60 #define SKTPAIR
61
62 /* Define this to cause -N to be passed to ld. This is needed
63 * in uniplus because of its funny memory space layout.
64 * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything.
65 */
66
67 #define LD_SWITCH_MACHINE -N -T32 -e __start
68
69 /* If you are compiling for a 68020, then use -lc32 else use -lc */
70
71 #define LIB_STANDARD -lc32
72
73 /* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */
74
75 #define LIBS_MACHINE -linet32
76
77 /* Use -T32 for 68020, -T16 otherwise */
78
79 #define C_SWITCH_MACHINE -T32
80
81 #define BROKEN_SIGIO
82
83 /* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
84
85 #define ASS as32
86
87 #ifdef V3x
88 #define EXEC_MAGIC 0x10b
89 #define SEGMENT_MASK (NBPS-1)
90 #define ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\
91 f_ohdr.stsize = 0;
92 #endif