annotate src/m/news-risc.h @ 48542:435e087e5d76

(update_dynamic_symbols): Cast arg of fatal_unexec.
author Dave Love <fx@gnu.org>
date Mon, 25 Nov 2002 19:21:10 +0000
parents 6c6eb4745dfb
children 23a1cea22d13
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* news-risc.h is for the "RISC News". */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
5 #ifdef NEWSOS5
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
6
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
7 /* NEWS-OS 5.0.2 */
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
8
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
9 #define LIBS_MACHINE -lmld
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
10
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
11 #ifdef __GNUC__
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
12 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
13 #else
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
14 #define C_DEBUG_SWITCH -g3
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
15 #define C_OPTIMIZE_SWITCH -g3
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
16 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
17 #endif
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
18
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
19 #else /* not NEWSOS5 */
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
20
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 /* The following line tells the configuration script what sort of
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 operating system this machine is likely to run.
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 USUAL-OPSYS="bsd4-3" */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 #define COFF
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #undef LD_SWITCH_MACHINE
27346
47152260ac4c (LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents: 8066
diff changeset
27 #ifdef __GNUC__
47152260ac4c (LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents: 8066
diff changeset
28 #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
47152260ac4c (LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents: 8066
diff changeset
29 #else
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #define LD_SWITCH_MACHINE -x -D 800000
27346
47152260ac4c (LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents: 8066
diff changeset
31 #endif
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 /* #define C_OPTIMIZE_SWITCH -O2 */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 #define C_OPTIMIZE_SWITCH -O
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
36 #ifndef __GNUC__
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 #define C_DEBUG_SWITCH -g3
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
38 #endif
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 #undef TERMINFO
3520
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
41
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
42 /* We have no mode_t. */
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
43 #define NO_MODE_T
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
44
3819
Jim Blandy <jimb@redhat.com>
parents: 3520
diff changeset
45 /* Don't use the definitions in m/mips.h. */
3520
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
46 #undef LINKER
27346
47152260ac4c (LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents: 8066
diff changeset
47 #define LINKER $(CC) -nostdlib
3819
Jim Blandy <jimb@redhat.com>
parents: 3520
diff changeset
48 #undef LIBS_MACHINE
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
49 #define LIBS_MACHINE -lmld
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
50
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
51 #undef KERNEL_FILE
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
52 #define KERNEL_FILE "/vmunix"
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
53
40762
6c6eb4745dfb (BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 27951
diff changeset
54 /* System's malloc, realloc, calloc and so on have bad prototypes,
6c6eb4745dfb (BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 27951
diff changeset
55 using char * instead of void *, so tell gmalloc not to use the
6c6eb4745dfb (BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 27951
diff changeset
56 prototypes. */
6c6eb4745dfb (BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 27951
diff changeset
57 #define BROKEN_PROTOTYPES
6c6eb4745dfb (BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 27951
diff changeset
58
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
59 #endif /* not NEWSOS5 */