diff options
author | Christopher Faylor <me@cgf.cx> | 2005-06-01 04:00:40 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-06-01 04:00:40 +0000 |
commit | 5d4a672193117bd5109f517236e6649ec7b9a4ca (patch) | |
tree | 3533a6f71cf96963a04db8d17bfc657825eb653d /winsup | |
parent | ce95c6407ef6ab1a60a1b1e2cd62ef4ae2081174 (diff) | |
download | newlib-5d4a672193117bd5109f517236e6649ec7b9a4ca.zip newlib-5d4a672193117bd5109f517236e6649ec7b9a4ca.tar.gz newlib-5d4a672193117bd5109f517236e6649ec7b9a4ca.tar.bz2 |
* cygheap.cc (cygheap_end): Remove bogus section attribute.
* cygwin.sc: Make __cygheap_mid absolute. Remove unused _cygheap_foo.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygheap.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/cygwin.sc | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c79e095..3d2c4d5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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. diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 5e85a07..3d0ce4b 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -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; diff --git a/winsup/cygwin/cygwin.sc b/winsup/cygwin/cygwin.sc index 6393dab..6b5df0d 100644 --- a/winsup/cygwin/cygwin.sc +++ b/winsup/cygwin/cygwin.sc @@ -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(.); } |