André Hentschel : ntdll: Improved ARM little endianess detection.
Alexandre Julliard
julliard at winehq.org
Mon May 23 13:24:56 CDT 2011
Module: wine
Branch: master
Commit: 4e26336eae0c7132b3e3ca068eed590eab8f066f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e26336eae0c7132b3e3ca068eed590eab8f066f
Author: André Hentschel <nerv at dawncrow.de>
Date: Fri May 20 18:26:24 2011 +0200
ntdll: Improved ARM little endianess detection.
---
dlls/ntdll/virtual.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
index d88b734..aba9a71 100644
--- a/dlls/ntdll/virtual.c
+++ b/dlls/ntdll/virtual.c
@@ -1054,7 +1054,7 @@ static NTSTATUS check_architecture( const IMAGE_NT_HEADERS *nt )
WARN( "loading 32-bit dll in 64-bit mode will fail\n" );
return STATUS_INVALID_IMAGE_FORMAT;
}
-#elif defined(__ARMEL__)
+#elif defined(__arm__) && !defined(__ARMEB__)
if (nt->FileHeader.Machine == IMAGE_FILE_MACHINE_ARM ||
nt->FileHeader.Machine == IMAGE_FILE_MACHINE_THUMB)
return STATUS_SUCCESS;
More information about the wine-cvs
mailing list