From 41f06f51ac279750d27a1fdf1b0986ad94eb065d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 11 Feb 2011 16:18:34 +0000 Subject: [PATCH] * cygwin.sc: Eliminate __cygheap_mid. * cygheap.cc: Ditto. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/cygheap.cc | 1 - winsup/cygwin/cygwin.sc | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) 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(.); }