summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-sco5
diff options
context:
space:
mode:
authorRobert Lipe <robertl@gcc.gnu.org>2000-12-30 17:14:52 +0000
committerRobert Lipe <robertl@gcc.gnu.org>2000-12-30 17:14:52 +0000
commit17b8888b84e6893c6be498d2afc2fd1383a1e018 (patch)
tree31caecc5dec0c150be5af87f1cc4dd2de7c2cbf0 /gcc/config/i386/t-sco5
parent965a9c31d976b3d8e2dc94b314836d8eab32f233 (diff)
downloadgcc-17b8888b84e6893c6be498d2afc2fd1383a1e018.tar.gz
Remove COFF support from i?86-pc-sco3.2v5.
2000-12-29 Robert Lipe <robertl@sco.com> Remove COFF support from i?86-pc-sco3.2v5. * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II. (TARGET_ELF): Now always true. (SUBTARGET_SWTICHES: )Remove -mcoff. * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_EXCEPTION): Nuke coff. (CRTSTUFF_T_CFLAGS_S): Deleted. (TARGET_LIBGCC2_CFLAGS): Added. From-SVN: r38565
Diffstat (limited to 'gcc/config/i386/t-sco5')
-rw-r--r--gcc/config/i386/t-sco523
1 files changed, 9 insertions, 14 deletions
diff --git a/gcc/config/i386/t-sco5 b/gcc/config/i386/t-sco5
index f602066e995..42ae7db8c9f 100644
--- a/gcc/config/i386/t-sco5
+++ b/gcc/config/i386/t-sco5
@@ -1,19 +1,14 @@
-# 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
+# We need to use -fPIC when we are using gcc to compile the routines in
+# crtstuff.c. This is only really needed when we are going to use gcc/g++
+# to produce a shared library, but since we don't know ahead of time when
+# we will be doing that, we just always use -fPIC when compiling the
+# routines in crtstuff.c. Likewise for libgcc2.c. This is less painful
+# than multilibbing everything with PIC and PIC-not variants.
-#
-# I am still a little unsure of the multilib architecture. The following
-# 4 lines are based on advice from meissner@cygnus.com.
-#
-MULTILIB_OPTIONS = mcoff/fPIC
-MULTILIB_DIRNAMES = coff pic
-MULTILIB_EXCEPTIONS = *mcoff*/*fPIC*
-MULTILIB_MATCHES = fPIC=fpic
-MULTILIB_EXTRA_OPTS =
+# The pushl in CTOR initialization interferes with frame pointer elimination.
-LIBGCC=stmp-multilib
-INSTALL_LIBGCC=install-multilib
+CRTSTUFF_T_CFLAGS = -fPIC -fno-omit-frame-pointer
+TARGET_LIBGCC2_CFLAGS = -fPIC
crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s