From 60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 15 Aug 2021 00:34:05 -0400 Subject: Added gcc --- gcc-1.40/config/tm-i386isc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gcc-1.40/config/tm-i386isc.h (limited to 'gcc-1.40/config/tm-i386isc.h') diff --git a/gcc-1.40/config/tm-i386isc.h b/gcc-1.40/config/tm-i386isc.h new file mode 100644 index 0000000..6204193 --- /dev/null +++ b/gcc-1.40/config/tm-i386isc.h @@ -0,0 +1,24 @@ +/* Definitions for Intel 386 running Interactive Unix System V. */ + +/* Mostly it's like AT&T Unix System V. */ + +#include "tm-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. */ + +#define STRUCT_RETURN_CALLER_POP -- cgit v1.2.3