|
|
1.1 root 1: /* Definitions for Intel 386 running Interactive Unix System V.
2: Specifically, this is for recent versions that support POSIX;
3: for version 2.0.2, use configuration option i386-sysv instead. */
4:
5: /* Mostly it's like AT&T Unix System V. */
6:
7: #include "i386v.h"
8:
9: /* Use crt0.o or crt1.o as a startup file and crtn.o as a closing file. */
10: #undef STARTFILE_SPEC
11: #define STARTFILE_SPEC \
12: "%{!shlib:%{posix:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp0.o%s}}}\
13: %{!posix:%{pg:mcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}\
14: %{p:-L/lib/libp} %{pg:-L/lib/libp}}}\
15: %{shlib:%{posix:crtp1.o%s}%{!posix:crt1.o%s}} "
16:
17: #define ENDFILE_SPEC "crtn.o%s"
18:
19: /* Library spec */
20: #undef LIB_SPEC
21: #define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc"
22:
23: /* caller has to pop the extra argument passed to functions that return
24: structures. */
25:
26: #undef RETURN_POPS_ARGS
27: #define RETURN_POPS_ARGS(FUNTYPE,SIZE) \
28: (TREE_CODE (FUNTYPE) == IDENTIFIER_NODE ? 0 \
29: : (TARGET_RTD \
30: && (TYPE_ARG_TYPES (FUNTYPE) == 0 \
31: || (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
32: == void_type_node))) ? (SIZE) \
33: : 0)
34: /* On other 386 systems, the last line looks like this:
35: : (aggregate_value_p (FUNTYPE)) ? GET_MODE_SIZE (Pmode) : 0) */
36:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.