aboutsummaryrefslogtreecommitdiff
path: root/config/mh-mingw
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2010-12-02 23:36:59 +0000
committerDave Korn <dave.korn@artimi.com>2010-12-02 23:36:59 +0000
commita9ae4fffeb8203f20753492b228c742866ccfc5e (patch)
tree68b883a4afe7c22c6999a5e329d918ca11401bc3 /config/mh-mingw
parentc45c13cab8985bcbdd8a22b031dca85cf10a2349 (diff)
downloadfsf-binutils-gdb-a9ae4fffeb8203f20753492b228c742866ccfc5e.zip
fsf-binutils-gdb-a9ae4fffeb8203f20753492b228c742866ccfc5e.tar.gz
fsf-binutils-gdb-a9ae4fffeb8203f20753492b228c742866ccfc5e.tar.bz2
* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag. * mh-mingw (LDFLAGS): Likewise. (BOOT_LDFLAGS): Likewise.
Diffstat (limited to 'config/mh-mingw')
-rw-r--r--config/mh-mingw6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/mh-mingw b/config/mh-mingw
index d91323e..bc1d274 100644
--- a/config/mh-mingw
+++ b/config/mh-mingw
@@ -2,5 +2,7 @@
# Vista (see PR33281 for details).
BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
CFLAGS += -D__USE_MINGW_ACCESS
-# Increase stack limit to same as Linux default.
-LDFLAGS += -Wl,--stack,8388608
+# Increase stack limit to a figure based on the Linux default, with 4MB added
+# as GCC turns out to need that much more to pass all the limits-* tests.
+LDFLAGS += -Wl,--stack,12582912
+BOOT_LDFLAGS += -Wl,--stack,12582912