aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1994-07-11 17:29:14 +0000
committerStan Cox <coxs@gnu.org>1994-07-11 17:29:14 +0000
commitba4852bc4b92c562c2f50905ecaa419c44f16eca (patch)
treec77235c7093c92fce29f6d896423a9cc1495096f /gcc
parent89ad259924aa72c852faf270aad484f2c8299f4b (diff)
downloadgcc-ba4852bc4b92c562c2f50905ecaa419c44f16eca.zip
gcc-ba4852bc4b92c562c2f50905ecaa419c44f16eca.tar.gz
gcc-ba4852bc4b92c562c2f50905ecaa419c44f16eca.tar.bz2
Changed for svr4.
From-SVN: r7702
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m88k/t-dgux9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/m88k/t-dgux b/gcc/config/m88k/t-dgux
index a98e956..594d9a0 100644
--- a/gcc/config/m88k/t-dgux
+++ b/gcc/config/m88k/t-dgux
@@ -11,6 +11,13 @@ LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
-# In a coff environment, a link script is required.
+# In a coff environment, a link script is required for ctors and dtors.
m88kdgux.ld: $(srcdir)/config/m88k/dgux.ld
rm -f m88kdgux.ld; cp $(srcdir)/config/m88k/dgux.ld ./m88kdgux.ld
+
+# A bcs crtbegin.o is needed since bcs does not
+# increment the stack pointer in the init section as elf does
+bcscrtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) gbl-ctors.h
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) -DCRT_BEGIN -DBCS \
+ -finhibit-size-directive -fno-inline-functions \
+ -g0 -c $(srcdir)/crtstuff.c -o bcscrtbegin.o