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
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-02-11 19:18:34 +0300
committerChristopher Faylor <me@cgf.cx>2011-02-11 19:18:34 +0300
commit41f06f51ac279750d27a1fdf1b0986ad94eb065d (patch)
tree262b860cc918e40303cf7ab81519520b85e6856d
parentcc25fb36412a2535f5759280a5be1692d35b9a7e (diff)
* cygwin.sc: Eliminate __cygheap_mid.
* cygheap.cc: Ditto.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/cygheap.cc1
-rw-r--r--winsup/cygwin/cygwin.sc1
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,5 +1,10 @@
2011-02-11 Christopher Faylor <me+cygwin@cgf.cx>
+ * cygwin.sc: Eliminate __cygheap_mid.
+ * cygheap.cc: Ditto.
+
+2011-02-11 Christopher Faylor <me+cygwin@cgf.cx>
+
* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
(cygheap_init): Just zero cygheap structure.
* cygwin.sc: Keep 16 byte alignment but drop all other alignments
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(.);
}