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:
authorCorinna Vinschen <corinna@vinschen.de>2023-01-17 19:43:21 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-01-17 20:41:10 +0300
commit8d318bf142f7d740172099bfa23b6983eb8379ae (patch)
treea19f12f8bd716a86f837a7b3d87bb2566bc49110 /winsup/utils
parentdc0fe7742b8c35543200391e07eeb386b5d75b0c (diff)
Cygwin: disable high-entropy VA for cygcheck and strace
It's not a good idea to enable high-entropy VA for tools loading the Cygwin DLL dynamically. The addresses used by HEVA tend to collide with fixed address areas managed by Cygwin. Fixes: 60675f1a7eb2 ("Cygwin: decouple shared mem regions from Cygwin DLL") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/mingw/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/utils/mingw/Makefile.am b/winsup/utils/mingw/Makefile.am
index 255fc4651..edb314d06 100644
--- a/winsup/utils/mingw/Makefile.am
+++ b/winsup/utils/mingw/Makefile.am
@@ -32,6 +32,7 @@ cygcheck_SOURCES = \
dump_setup.cc \
path.cc
cygcheck_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/include
+cygcheck_LDFLAGS = -Wl,--disable-high-entropy-va
cygcheck_LDADD = -lz -lwininet -lpsapi -lntdll
cygwin_console_helper_SOURCES = cygwin-console-helper.cc
@@ -42,6 +43,7 @@ strace_SOURCES = \
path.cc \
strace.cc
strace_CPPFLAGS=-I$(srcdir)/.. -idirafter ${top_srcdir}/cygwin/local_includes -idirafter ${top_srcdir}/cygwin/include
+strace_LDFLAGS = -Wl,--disable-high-entropy-va
strace_LDADD = -lntdll
noinst_PROGRAMS = path-testsuite