diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c9edae1dd..a255a9ba1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2011-02-11 Christopher Faylor + + * cygwin.sc: Eliminate __cygheap_mid. + * cygheap.cc: Ditto. + 2011-02-11 Christopher Faylor * cygheap.cc (_cygheap_mid): Drop unneeded section attribute. diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 9c861d8e5..022fff4f7 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -33,7 +33,6 @@ static mini_cygheap NO_COPY cygheap_at_start = init_cygheap NO_COPY *cygheap = (init_cygheap *) &cygheap_at_start; void NO_COPY *cygheap_max; -extern "C" char _cygheap_mid[]; extern "C" char _cygheap_end[]; static NO_COPY muto cygheap_protect; diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc index 88b86e432..ba45441f6 100644 --- a/winsup/cygwin/cygwin.sc +++ b/winsup/cygwin/cygwin.sc @@ -103,7 +103,6 @@ SECTIONS } .cygheap ALIGN(__section_alignment__) : { - __cygheap_mid = .; . = . + (1024 * 1024); __cygheap_end = ABSOLUTE(.); }