From: davek Date: Thu, 2 Dec 2010 23:30:47 +0000 (+0000) Subject: * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. X-Git-Tag: upstream/4.9.2~24415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fda57d05db0a761367d2dfaafb2fe66f91dab2ed;p=platform%2Fupstream%2Flinaro-gcc.git * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. (BOOT_LDFLAGS): Add matching stack size flag. * mh-mingw (LDFLAGS): Likewise. (BOOT_LDFLAGS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167400 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/config/ChangeLog b/config/ChangeLog index 8e98f6d..87af62b 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,10 @@ +2010-12-02 Dave Korn + + * 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 * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete. diff --git a/config/mh-cygwin b/config/mh-cygwin index 3a9698b..e3f7325 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 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