]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: decouple cygheap from Cygwin DLL
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 26 Oct 2022 19:16:35 +0000 (21:16 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Oct 2022 14:26:53 +0000 (16:26 +0200)
commit2f9b8ff00cce0d0ceeb1091b6b9aecae914ddb89
tree2adcede5e71e73240c69cd1be7cd96c4280459fc
parentc0776fa7bade123d5b33e44a9282f12dc3d2e10e
Cygwin: decouple cygheap from Cygwin DLL

One reason that ASLR is tricky is the fact that the cygheap
is placed at the end of the DLL and especially that it's expected
to be growable.  To support ASLR, this construct must go.

Define dedicated cygheap memory region and reserve entire region.
Commit 3 Megs, as was the default size of the cygheap before.

Fix linker script accordingly, drop a now useless version check
in get_cygwin_startup_info().
winsup/cygwin/cygwin.sc.in
winsup/cygwin/dcrt0.cc
winsup/cygwin/local_includes/cygheap.h
winsup/cygwin/local_includes/memory_layout.h
winsup/cygwin/mm/cygheap.cc
This page took 0.032113 seconds and 5 git commands to generate.