* cygheap.cc (_csbrk): Fix off-by-one error.

* cygwin.sc: Give .cygheap a minimum size of 512K.
This commit is contained in:
Corinna Vinschen
2007-01-12 19:40:20 +00:00
parent 5f77729c30
commit f51b396579
3 changed files with 8 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ SECTIONS
{
__cygheap_mid = .;
*(.cygheap)
. = . + 1;
. = . + (512 * 1024);
. = ALIGN(512 * 1024);
}
__cygheap_end = ABSOLUTE(.);