annotate src/s/umips.h @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents 8eaf7971accc
children c5d627a313b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Synched up with: FSF 19.31. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 /* Definitions file for GNU Emacs running on Mips operating system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 That system can emulate either BSD or Sys V, in either case with changes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 If BSD is defined, we assume BSD is being emulated; otherwise, Sys V. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 #ifdef BSD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 #include "bsd4-3.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
10 #define C_SWITCH_SYSTEM "-systype bsd43"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
11 #define LD_SWITCH_SYSTEM "-systype bsd43"
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 163
diff changeset
12 #undef LIBS_SYSTEM
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 163
diff changeset
13 /* #define LIBS_SYSTEM "-lmld" */ /* mrb */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 #define LIBS_DEBUG
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
15 #define START_FILES "pre-crt0.o /lib/crt1.o"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
16 #define LIB_STANDARD "-lc /usr/lib/crtn.o"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 #define COFF
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 #define TERMINFO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 #undef MAIL_USE_FLOCK /* Someone should check this. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 #else /* not BSD */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 #define DONT_DEFINE_NO_REMAP /* `static' hack not needed */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 #include "usg5-2-2.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
173
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 163
diff changeset
27 #undef LIBS_SYSTEM
8eaf7971accc Import from CVS: tag r20-3b13
cvs
parents: 163
diff changeset
28 /* #define LIBS_SYSTEM "-lmld" */ /* mrb */
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 #define LIBS_DEBUG
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
30 #define START_FILES "pre-crt0.o /usr/lib/crt1.o"
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
31 #define LIB_STANDARD "-lbsd -lc /usr/lib/crtn.o"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 /* #define LIBS_TERMCAP -lcurses */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents: 155
diff changeset
34 #define C_SWITCH_SYSTEM "-I/usr/include/bsd"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 /* Don't try to use SIGIO even though it is defined. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #define BROKEN_SIGIO
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 /* Describe special kernel features. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #if defined(emacs)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #include <bsd/sys/time.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 /* The `select' in the system won't work for pipes,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 so don't use it. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #define BROKEN_SELECT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #define HAVE_PTYS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 /* ??? */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #define IRIS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 #endif /* not BSD */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 /* High order bit must be stripped off nlist return values */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 #define FIXUP_KERNEL_SYMBOL_ADDR(NL) (NL)[0].n_value &= 0x7fffffff;