summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-08-07 02:38:13 +0000
committerChristopher Faylor <me@cgf.cx>2005-08-07 02:38:13 +0000
commit82eaabf52123bfaf45adb30d1e48271bd9207cae (patch)
tree4b7dcd295f801a55f012467018d9176cc108f9f0 /winsup/cygwin/dcrt0.cc
parent244f5a27a6b7ce664030de6e4c08e9d43a099ad0 (diff)
downloadcygnal-82eaabf52123bfaf45adb30d1e48271bd9207cae.tar.gz
cygnal-82eaabf52123bfaf45adb30d1e48271bd9207cae.tar.bz2
cygnal-82eaabf52123bfaf45adb30d1e48271bd9207cae.zip
* Makefile.in: Warn when end of cygheap is not on 64k boundary.
* cygwin.sc: Try harder to ensure that cygheap is on a 64k boundary. Move cygheap to end of image to stop interference from unstripped debug regions.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 9fd9fa8ba..4286dd364 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -725,6 +725,9 @@ dll_crt0_1 (char *)
check_sanity_and_sync (user_data);
malloc_init ();
+ int i = 0;
+ while (i)
+ cmalloc (HEAP_STR, 2000000);
/* Initialize SIGSEGV handling, etc. */
init_exceptions (&cygwin_except_entry);