diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2025-07-03 17:15:58 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2025-07-03 17:15:58 +0200 |
commit | 6555247a453e05f8e014092bf1df9447c11fd6ed (patch) | |
tree | ebf6937439367c5e388867f81f5f9ab663b768a4 | |
parent | 843372d5dfa276eb7de8df63a7f1ecbab542fdf1 (diff) | |
download | newlib-6555247a453e05f8e014092bf1df9447c11fd6ed.zip newlib-6555247a453e05f8e014092bf1df9447c11fd6ed.tar.gz newlib-6555247a453e05f8e014092bf1df9447c11fd6ed.tar.bz2 |
Cygwin: GetArm64ProcAddress: drop unsupported __i386__ code branch
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/aarch64/fastcwd.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/aarch64/fastcwd.cc b/winsup/cygwin/aarch64/fastcwd.cc index e53afc0..17ce6bb 100644 --- a/winsup/cygwin/aarch64/fastcwd.cc +++ b/winsup/cygwin/aarch64/fastcwd.cc @@ -23,10 +23,7 @@ GetArm64ProcAddress (HMODULE hModule, LPCSTR procname) #if defined (__aarch64__) return proc; #else -#if defined (__i386__) - static const BYTE thunk[] = "\x8b\xff\x55\x8b\xec\x5d\x90\xe9"; - static const BYTE thunk2[0]; -#elif defined (__x86_64__) +#if defined (__x86_64__) /* see https://learn.microsoft.com/en-us/windows/arm/arm64ec-abi#fast-forward-sequences */ static const BYTE thunk[] = "\x48\x8b\xc4\x48\x89\x58\x20\x55\x5d\xe9"; |