bootstrap/3412: -mcoff in CRTSTUFF_T_CFLAGS_S

Golubev I. N. gin@mo.msk.ru
Wed Jun 27 11:09:00 GMT 2001


The patch fixes gnats bug 3412.  That is, coff support for sco5 target
was removed by
< http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/sco5.h#rev1.41 >,
but that was not honored in `t-sco5gas'.  The change involved removing
from `t-sco5' code that made difference with `t-sco5gas'.  So now
`t-sco5gas' is not needed at all (should be removed).


Remove COFF support from i?86-*-sco3.2v5*.

* config/i386/t-sco5gas: Removed.

* config.gcc: Likewise.

--- config.gcc	2001/06/27 17:01:34	1.1
+++ config.gcc	2001/06/27 17:05:03	1.2
@@ -1307,11 +1307,8 @@
 	if test x$gas = xyes
 	then
 		tm_file="usegas.h ${tm_file}"
-		tmake_file=i386/t-sco5gas
-	else
-		tmake_file=i386/t-sco5
 	fi
-	tmake_file="$tmake_file i386/t-i386bare"
+	tmake_file="i386/t-sco5 i386/t-i386bare"
 	extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
 	;;
 i[34567]86-*-sco3.2v4*) 	# 80386 running SCO 3.2v4 system
--- config/i386/t-sco5gas	2001/06/25 18:55:40	1.1
+++ config/i386/t-sco5gas	2001/06/27 17:05:03	1.4
@@ -1,20 +0,0 @@
-# The pushl in CTOR initialization interferes with frame pointer elimination.
-CRTSTUFF_T_CFLAGS   = -fPIC -fno-omit-frame-pointer
-CRTSTUFF_T_CFLAGS_S = -mcoff -fno-omit-frame-pointer
-
-#
-# I am still a little unsure of the multilib architecture. The following
-# 4 lines are based on advice from meissner@cygnus.com.
-#
-MULTILIB_OPTIONS    = fPIC
-MULTILIB_DIRNAMES   = pic
-MULTILIB_EXCEPTIONS = *fPIC*
-MULTILIB_MATCHES    = fPIC=fpic
-MULTILIB_EXTRA_OPTS =
-
-LIBGCC=stmp-multilib
-INSTALL_LIBGCC=install-multilib
-
-crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
-	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
-	$(GCC_FOR_TARGET) -c -o crti.o crti.s



More information about the Gcc-patches mailing list