aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/heap.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-07-14 18:32:53 +0200
committerCorinna Vinschen <corinna@vinschen.de>2022-07-14 18:32:53 +0200
commit1f962581ffb5255121922cd93dec1fa9a06406d9 (patch)
tree4aaf7090fab4330fe97465cc6f702be9c4a31f14 /winsup/cygwin/heap.cc
parent4ce1a1ddc489f13e45abaf563e601e4df1e1c21c (diff)
downloadnewlib-1f962581ffb5255121922cd93dec1fa9a06406d9.zip
newlib-1f962581ffb5255121922cd93dec1fa9a06406d9.tar.gz
newlib-1f962581ffb5255121922cd93dec1fa9a06406d9.tar.bz2
Cygwin: fix or delete a few comments to drop 32 bit references
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/heap.cc')
-rw-r--r--winsup/cygwin/heap.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc
index fbec7d4..14c42e4 100644
--- a/winsup/cygwin/heap.cc
+++ b/winsup/cygwin/heap.cc
@@ -29,13 +29,14 @@ static ptrdiff_t page_const;
static uintptr_t
eval_start_address ()
{
- /* On 64 bit, we choose a fixed address outside the 32 bit area. The
- executable starts at 0x1:00400000L, the Cygwin DLL starts at
- 0x1:80040000L, other rebased DLLs are located in the region from
- 0x2:00000000L up to 0x4:00000000L, -auto-image-based DLLs are located
- in the region from 0x4:00000000L up to 0x6:00000000L. Thread stacks
- are located in the region from 0x6:00000000L up to 0x8:00000000L.
- So the heap starts at 0x8:00000000L. */
+ /* We choose a fixed address outside the low 32 bit arena, which is
+ exclusively used by the OS now:
+ - The executable starts at 0x1:00400000L
+ - The Cygwin DLL starts at 0x1:80040000L
+ - Rebased DLLs are located from 0x2:00000000L up to 0x4:00000000L
+ - auto-image-based DLLs are located from 0x4:00000000L up to 0x6:00000000L
+ - Thread stacks are located from 0x6:00000000L up to 0x8:00000000L.
+ - So the heap starts at 0x8:00000000L. */
uintptr_t start_address = 0x800000000L;
return start_address;
}