[PATCH] ntdll: Handle IMAGE_REL_BASED_DIR64 for arm64 in the same way as for x86_64
Jacek Caban
jacek at codeweavers.com
Fri Jul 7 10:14:59 CDT 2017
Hi Martin,
On 07.07.2017 12:39, Martin Storsjo wrote:
> diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
> index 518a99f..3b784bf 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__
> +#if defined(__x86_64__) || defined(__aarch64__)
Could it use simply #ifdef _WIN64?
Thanks,
Jacek
More information about the wine-devel
mailing list