aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-darwin
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2006-03-24 21:59:48 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2006-03-24 21:59:48 +0000
commit895de5a8a986d9a1c5c25d102458215dca6fa225 (patch)
tree9167ce1f04f8c8057edc2a048d5102b1811fb922 /gcc/config/t-darwin
parente713adf6454bc88303e4708378948ac831b14b10 (diff)
downloadgcc-895de5a8a986d9a1c5c25d102458215dca6fa225.zip
gcc-895de5a8a986d9a1c5c25d102458215dca6fa225.tar.gz
gcc-895de5a8a986d9a1c5c25d102458215dca6fa225.tar.bz2
[multiple changes]
2006-03-23 Geoffrey Keating <geoffk@apple.com> PR 26793 * config/t-darwin (crt3.o): Work around bug 26840. * config/darwin-crt3.c: Rewrite. * config/darwin.h (STARTFILE_SPEC): Don't use -l for crt3.o. Index: gcc/testsuite/ChangeLog 2006-03-24 Geoffrey Keating <geoffk@apple.com> * g++.old-deja/g++.other/init19.C: New. From-SVN: r112361
Diffstat (limited to 'gcc/config/t-darwin')
-rw-r--r--gcc/config/t-darwin2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin
index 5995f30..b6ee9c0 100644
--- a/gcc/config/t-darwin
+++ b/gcc/config/t-darwin
@@ -14,9 +14,11 @@ gt-darwin.h : s-gtype ; @true
# How to build crt3.o
EXTRA_MULTILIB_PARTS=crt3.o
+# Pass -fno-tree-dominator-opts to work around bug 26840.
$(T)crt3$(objext): $(srcdir)/config/darwin-crt3.c $(GCC_PASSES) \
$(TCONFIG_H) stmp-int-hdrs tsystem.h
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
+ -fno-tree-dominator-opts \
-c $(srcdir)/config/darwin-crt3.c -o $(T)crt3$(objext)
# Use unwind-dw2-fde-darwin