Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2010-12-03 02:36:59 +0300
committerDave Korn <dave.korn.cygwin@gmail.com>2010-12-03 02:36:59 +0300
commit79f8be3bffdb6e1245637debdd7a82425735ce8e (patch)
treee091beb67b68b431d497c5d1e0dd15dffcf32d8e /config
parentf590fbd2225c07e038874e49896bafdfb99752e7 (diff)
* 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')
-rw-r--r--config/ChangeLog7
-rw-r--r--config/mh-cygwin6
-rw-r--r--config/mh-mingw6
3 files changed, 15 insertions, 4 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 8e98f6d13..87af62b4e 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-02 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
+ (BOOT_LDFLAGS): Add matching stack size flag.
+ * mh-mingw (LDFLAGS): Likewise.
+ (BOOT_LDFLAGS): Likewise.
+
2010-11-27 Eric Botcazou <ebotcazou@adacore.com>
* bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
diff --git a/config/mh-cygwin b/config/mh-cygwin
index 3a9698b38..e3f732503 100644
--- a/config/mh-cygwin
+++ b/config/mh-cygwin
@@ -1,8 +1,10 @@
EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
-# 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
all-gdb: maybe-all-libtermcap
diff --git a/config/mh-mingw b/config/mh-mingw
index d91323ef5..bc1d27477 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