1/* machine description file for Bull SPS-7.
2   Copyright (C) 1986, 1999, 2001, 2002, 2003, 2004,
3                 2005, 2006, 2007  Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING.  If not, write to
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA.  */
21
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/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word
28   is the most significant byte.  */
29
30#define WORDS_BIG_ENDIAN
31
32/* Say this machine is a 68000 */
33
34#ifndef m68000
35#define m68000
36#endif
37
38#define sps7
39
40/* Use type int rather than a union, to represent Lisp_Object */
41
42#define NO_UNION_TYPE
43
44/* XINT must explicitly sign-extend */
45
46#define EXPLICIT_SIGN_EXTEND
47
48/* Data type of load average, as read out of kmem.  */
49/* Suspect there is something weird about this machine, so turn it off.  */
50
51/* #define LOAD_AVE_TYPE long */
52
53/* Convert that into an integer that is 100 for a load average of 1.0  */
54
55/* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
56
57#define SMX
58#define	V3x
59
60/*
61 *	Define HAVE_PTYS if the system supports pty devices.
62 */
63
64#define HAVE_PTYS
65
66/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
67
68#define HAVE_SOCKETS
69
70/*	Have the socketpair call
71*/
72
73#define SKTPAIR
74
75/* Define CLASH_DETECTION if you want lock files to be written
76   so that Emacs can tell instantly when you try to modify
77   a file that someone else has modified in his Emacs.  */
78
79#define CLASH_DETECTION
80
81/* Use Berkeley style interface to nlist */
82
83#define NLIST_STRUCT
84
85/* Define this to cause -N to be passed to ld.  This is needed
86 *  in uniplus because of its funny memory space layout.
87 * SMX--If you are using 32 bit (COFF) use "-N", else don't use anything.
88 */
89
90#define LD_SWITCH_MACHINE -N -T32 -e __start
91
92/* If you are compiling for a 68020, then use -lc32 else use -lc */
93
94#define LIB_STANDARD -lc32
95
96/* Fore 16 bit, -linet, for 32 bit -linet32 (be sure you have it!). */
97
98#define LIBS_MACHINE -linet32
99
100/* Use -T32 for 68020, -T16 otherwise */
101
102#define C_SWITCH_MACHINE -T32
103
104#define BROKEN_SIGIO
105
106/* Other than 68020 use ld16, as32, or undefine (defaults ld and as). */
107
108#define ASS as32
109
110#ifdef V3x
111#define EXEC_MAGIC 0x10b
112#define SEGMENT_MASK (NBPS-1)
113#define	ADJUST_EXEC_HEADER f_hdr.f_magic = SMROMAGIC;\
114 f_ohdr.stsize = 0;
115#endif
116
117/* arch-tag: 2240f71c-6f3b-4a82-80fc-4d56c682d7ad
118   (do not change this comment) */
119