[newlib-cygwin] Cygwin: drop autoloading kernel32 symbols available since Windows 7
Corinna Vinschen
corinna@sourceware.org
Fri Jan 28 09:37:04 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=047eaf9a6b36881a15e43cbea333725b8e59a3b4
commit 047eaf9a6b36881a15e43cbea333725b8e59a3b4
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Jan 28 10:33:50 2022 +0100
Cygwin: drop autoloading kernel32 symbols available since Windows 7
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/autoload.cc | 6 ------
1 file changed, 6 deletions(-)
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 2b862b5e6..1f52411d8 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -582,21 +582,15 @@ LoadDLLfunc (if_indextoname, 8, iphlpapi)
LoadDLLfunc (if_nametoindex, 4, iphlpapi)
LoadDLLfuncEx2 (DiscardVirtualMemory, 8, kernel32, 1, 127)
-LoadDLLfunc (GetCurrentProcessorNumberEx, 4, kernel32)
-LoadDLLfuncEx (GetLogicalProcessorInformationEx, 12, kernel32, 1)
-LoadDLLfuncEx (GetProcessGroupAffinity, 12, kernel32, 1)
LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32)
-LoadDLLfuncEx (GetThreadGroupAffinity, 8, kernel32, 1)
LoadDLLfuncEx (IsWow64Process2, 12, kernel32, 1)
LoadDLLfuncEx (PrefetchVirtualMemory, 16, kernel32, 1)
-LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32)
/* MSDN claims these are exported by kernel32.dll, but only
QueryUnbiasedInterruptTime actually is. The others are only
available via KernelBase.dll. */
LoadDLLfunc (QueryInterruptTime, 4, KernelBase)
LoadDLLfunc (QueryInterruptTimePrecise, 4, KernelBase)
-LoadDLLfunc (QueryUnbiasedInterruptTime, 4, KernelBase)
LoadDLLfunc (QueryUnbiasedInterruptTimePrecise, 4, KernelBase)
LoadDLLfunc (VirtualAlloc2, 28, KernelBase)
More information about the Cygwin-cvs
mailing list