Martin Storsjo : ntdll: Handle IMAGE_REL_BASED_DIR64 for arm64 in the same way as for x86_64.
Alexandre Julliard
julliard at winehq.org
Fri Jul 7 14:10:07 CDT 2017
Module: wine
Branch: master
Commit: 114d8aded773bdb8ea76f4dcf418a2d7f2d33d21
URL: http://source.winehq.org/git/wine.git/?a=commit;h=114d8aded773bdb8ea76f4dcf418a2d7f2d33d21
Author: Martin Storsjo <martin at martin.st>
Date: Fri Jul 7 13:39:23 2017 +0300
ntdll: Handle IMAGE_REL_BASED_DIR64 for arm64 in the same way as for x86_64.
Signed-off-by: Martin Storsjo <martin at martin.st>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 518a99f..dd1f74c 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -2476,7 +2476,7 @@ IMAGE_BASE_RELOCATION * WINAPI LdrProcessRelocationBlock( void *page, UINT count
case IMAGE_REL_BASED_HIGHLOW:
*(int *)((char *)page + offset) += delta;
break;
-#ifdef __x86_64__
+#ifdef _WIN64
case IMAGE_REL_BASED_DIR64:
*(INT_PTR *)((char *)page + offset) += delta;
break;
More information about the wine-cvs
mailing list