Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-01 08:00:40 +0400
committerChristopher Faylor <me@cgf.cx>2005-06-01 08:00:40 +0400
commit5d4a672193117bd5109f517236e6649ec7b9a4ca (patch)
tree3533a6f71cf96963a04db8d17bfc657825eb653d /winsup
parentce95c6407ef6ab1a60a1b1e2cd62ef4ae2081174 (diff)
* 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/ChangeLog5
-rw-r--r--winsup/cygwin/cygheap.cc2
-rw-r--r--winsup/cygwin/cygwin.sc3
3 files changed, 7 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index c79e095ef..3d2c4d522 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 5e85a074f..3d0ce4b1b 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 6393dab9a..6b5df0dec 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(.);
}