* cygheap.cc (cygheap_end): Remove bogus section attribute.

* cygwin.sc: Make __cygheap_mid absolute.  Remove unused _cygheap_foo.
This commit is contained in:
Christopher Faylor 2005-06-01 04:00:40 +00:00
parent ce95c6407e
commit 5d4a672193
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-05-31 Christopher Faylor <cgf@timesys.com>
* cygheap.cc (cygheap_end): Remove bogus section attribute.
* cygwin.sc: Make __cygheap_mid absolute. Remove unused _cygheap_foo.
2005-05-30 Christopher Faylor <cgf@timesys.com> 2005-05-30 Christopher Faylor <cgf@timesys.com>
* child_info.h (child_info::cygheap_h): Delete. * child_info.h (child_info::cygheap_h): Delete.

View File

@ -29,7 +29,7 @@ init_cygheap NO_COPY *cygheap;
void NO_COPY *cygheap_max; void NO_COPY *cygheap_max;
extern "C" char _cygheap_mid[] __attribute__((section(".cygheap"))); extern "C" char _cygheap_mid[] __attribute__((section(".cygheap")));
extern "C" char _cygheap_end[] __attribute__((section(".cygheap_end"))); extern "C" char _cygheap_end[];
static NO_COPY muto cygheap_protect; static NO_COPY muto cygheap_protect;

View File

@ -104,10 +104,9 @@ SECTIONS
__section_alignment__ = 64 * 1024; __section_alignment__ = 64 * 1024;
.cygheap ALIGN(4096): .cygheap ALIGN(4096):
{ {
__cygheap_mid = .; __cygheap_mid = ABSOLUTE(.);
. = ALIGN(512 * 1024, 0x10000); . = ALIGN(512 * 1024, 0x10000);
. += 8192; /* inexplicably needed for alignment on 64K boundary?!? */ . += 8192; /* inexplicably needed for alignment on 64K boundary?!? */
_cygheap_foo = .;
} }
__cygheap_end = ABSOLUTE(.); __cygheap_end = ABSOLUTE(.);
} }