|
|
1.1 root 1: /* Definitions for Intel 386 running SCO Unix System V. */
2:
3:
4: /* Mostly it's like AT&T Unix System V. */
5:
6: #include "i386v.h"
7:
8: /* Use crt1.o as a startup file and crtn.o as a closing file. */
9:
10: #undef STARTFILE_SPEC
11: #define STARTFILE_SPEC "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
12:
13: #define ENDFILE_SPEC "crtn.o%s"
14:
15: /* Library spec, including SCO international language support. */
16:
17: #undef LIB_SPEC
18: #define LIB_SPEC \
19: "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} %{scointl:libintl.a%s} -lc"
20:
21: /* Specify predefined symbols in preprocessor. */
22:
23: #undef CPP_PREDEFINES
24: #define CPP_PREDEFINES "-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP"
25:
26: #define CPP_SPEC "%{scointl:-DM_INTERNAT}"
27:
28: #if 0 /* Not yet certain whether this is needed. */
29: /* If no 387, use the general regs to return floating values,
30: since this system does not emulate the 80387. */
31:
32: #define VALUE_REGNO(MODE) \
33: ((TARGET_80387 && ((MODE) == SFmode || (MODE) == DFmode))
34: ? FIRST_FLOAT_REG : 0)
35:
36: #define HARD_REGNO_MODE_OK(REGNO, MODE) \
37: ((REGNO) < 2 ? 1 \
38: : (REGNO) < 4 ? 1 \
39: : (REGNO) >= 8 ? ((GET_MODE_CLASS (MODE) == MODE_FLOAT \
40: || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT) \
41: && TARGET_80387 \
42: && GET_MODE_UNIT_SIZE (MODE) <= 8) \
43: : (MODE) != QImode)
44: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.