summaryrefslogtreecommitdiff
path: root/gcc/config/i386/isccoff.h
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1991-12-01 04:57:16 +0000
committerRichard Stallman <rms@gnu.org>1991-12-01 04:57:16 +0000
commitea76e85da8e1b01e32aa158babc6e48d5848cae0 (patch)
treefef1f2e84f42b27cf6f7fd0d8ea4791860d01b74 /gcc/config/i386/isccoff.h
parent868df7f7f9a31877be4e4acbc1095072f1e6d362 (diff)
downloadgcc-ea76e85da8e1b01e32aa158babc6e48d5848cae0.tar.gz
Initial revision
From-SVN: r86
Diffstat (limited to 'gcc/config/i386/isccoff.h')
-rw-r--r--gcc/config/i386/isccoff.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/i386/isccoff.h b/gcc/config/i386/isccoff.h
new file mode 100644
index 00000000000..69fab57aa10
--- /dev/null
+++ b/gcc/config/i386/isccoff.h
@@ -0,0 +1,36 @@
+/* Definitions for Intel 386 running Interactive Unix System V.
+ Specifically, this is for recent versions that support POSIX;
+ for version 2.0.2, use configuration option i386-sysv instead. */
+
+/* Mostly it's like AT&T Unix System V. */
+
+#include "i386v.h"
+
+/* Use crt0.o or crt1.o as a startup file and crtn.o as a closing file. */
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC \
+ "%{!shlib:%{posix:%{pg:mcrtp1.o%s}%{!pg:%{p:mcrtp1.o%s}%{!p:crtp0.o%s}}}\
+ %{!posix:%{pg:mcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}\
+ %{p:-L/lib/libp} %{pg:-L/lib/libp}}}\
+ %{shlib:%{posix:crtp1.o%s}%{!posix:crt1.o%s}} "
+
+#define ENDFILE_SPEC "crtn.o%s"
+
+/* Library spec */
+#undef LIB_SPEC
+#define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc"
+
+/* caller has to pop the extra argument passed to functions that return
+ structures. */
+
+#undef RETURN_POPS_ARGS
+#define RETURN_POPS_ARGS(FUNTYPE,SIZE) \
+ (TREE_CODE (FUNTYPE) == IDENTIFIER_NODE ? 0 \
+ : (TARGET_RTD \
+ && (TYPE_ARG_TYPES (FUNTYPE) == 0 \
+ || (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
+ == void_type_node))) ? (SIZE) \
+ : 0)
+/* On other 386 systems, the last line looks like this:
+ : (aggregate_value_p (FUNTYPE)) ? GET_MODE_SIZE (Pmode) : 0) */
+