* cygheap.cc (cygheap_end): Remove bogus section attribute.
* cygwin.sc: Make __cygheap_mid absolute. Remove unused _cygheap_foo.
This commit is contained in:
parent
ce95c6407e
commit
5d4a672193
@ -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>
|
||||
|
||||
* child_info.h (child_info::cygheap_h): Delete.
|
||||
|
@ -29,7 +29,7 @@ init_cygheap NO_COPY *cygheap;
|
||||
void NO_COPY *cygheap_max;
|
||||
|
||||
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;
|
||||
|
||||
|
@ -104,10 +104,9 @@ SECTIONS
|
||||
__section_alignment__ = 64 * 1024;
|
||||
.cygheap ALIGN(4096):
|
||||
{
|
||||
__cygheap_mid = .;
|
||||
__cygheap_mid = ABSOLUTE(.);
|
||||
. = ALIGN(512 * 1024, 0x10000);
|
||||
. += 8192; /* inexplicably needed for alignment on 64K boundary?!? */
|
||||
_cygheap_foo = .;
|
||||
}
|
||||
__cygheap_end = ABSOLUTE(.);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user