Module: wine Branch: master Commit: 114d8aded773bdb8ea76f4dcf418a2d7f2d33d21 URL: http://source.winehq.org/git/wine.git/?a=commit;h=114d8aded773bdb8ea76f4dcf4...
Author: Martin Storsjo martin@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@martin.st Signed-off-by: Alexandre Julliard julliard@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;