annotate src/m/mips4.h @ 52549:90a4382900b0

(sh-font-lock-keywords): Highlight escaped EOLs differently from other backslash constructs.
author Glenn Morris <rgm@gnu.org>
date Fri, 19 Sep 2003 17:10:57 +0000
parents 695cf19ef79e
children e032dd450ea7 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* machine description file for Mips running RISCOS version 4. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 16220
diff changeset
5 /* The following line tells the configuration script what sort of
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 operating system this machine is likely to run.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 USUAL-OPSYS="note"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 NOTE-START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 world.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 NOTE-END */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13
3491
a211389a145f (MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents: 3326
diff changeset
14 #if 0
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 /* Define MIPS2 if you have an R6000 or R4000. */
3326
84fa80cf7087 * m/mips.h (KERNEL_FILE): Set this to "/unix".
Jim Blandy <jimb@redhat.com>
parents: 524
diff changeset
16 #define MIPS2
3491
a211389a145f (MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents: 3326
diff changeset
17 #endif
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
19 #ifdef __GNUC__
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
20 #define C_DEBUG_SWITCH -g -O
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
21 #else
5257
80f932e6e5bc (C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents: 4722
diff changeset
22 /* We used to have -systype bsd43, but a configure change
80f932e6e5bc (C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents: 4722
diff changeset
23 now takes care of that option. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #ifdef MIPS2
7708
c4516ecc09b6 (C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option.
Richard M. Stallman <rms@gnu.org>
parents: 5257
diff changeset
25 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #else
7708
c4516ecc09b6 (C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option.
Richard M. Stallman <rms@gnu.org>
parents: 5257
diff changeset
27 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #endif
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
29 #endif
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 #ifdef TERMINFO
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #undef TERMINFO
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #endif
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 #define START_FILES pre-crt0.o /lib/crt1.o
3491
a211389a145f (MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents: 3326
diff changeset
36 /* Used to have -lisode, but jlp@math.byu.edu says remove it
a211389a145f (MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents: 3326
diff changeset
37 (for RISCOS 4.52). */
4722
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
38 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
39 and therefore we must search libc again after crtn.o.
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
40 The -L is used to force second -lc to find the sysv version
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
41 of libc.a, which is needed because the BSD libc.a
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
42 doesn't have _ctype. */
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
43 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 #define COFF
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 #undef LD_SWITCH_MACHINE
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
5257
80f932e6e5bc (C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents: 4722
diff changeset
49
80f932e6e5bc (C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents: 4722
diff changeset
50 #define NO_MODE_T
7986
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
51
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
52 /* These are needed on Riscos 4.0.
16220
02044b05d8e0 Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents: 7986
diff changeset
53 It appears that's the only system which uses mips4.h and defines BSD. */
02044b05d8e0 Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents: 7986
diff changeset
54 #ifdef BSD_SYSTEM
7986
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
55 #undef HAVE_STRERROR
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
56 #undef HAVE_XRMSETDATABASE
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
57 #undef HAVE_XSCREENRESOURCESTRING
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
58 #undef HAVE_SETSID
b2419e15cbbd (HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents: 7708
diff changeset
59 #endif
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
60
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
61 /* arch-tag: 56050454-0df5-4de9-b1b7-0c6ab400313c
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
62 (do not change this comment) */