Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9afb206e
Commit
9afb206e
authored
Nov 01, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Nov 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Try to load ARMv7 PE images on ARM.
parent
43e4e474
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
virtual.c
dlls/ntdll/virtual.c
+3
-1
No files found.
dlls/ntdll/virtual.c
View file @
9afb206e
...
...
@@ -1055,7 +1055,8 @@ static NTSTATUS check_architecture( const IMAGE_NT_HEADERS *nt )
return
STATUS_INVALID_IMAGE_FORMAT
;
}
#elif defined(__arm__) && !defined(__ARMEB__)
if
(
nt
->
FileHeader
.
Machine
==
IMAGE_FILE_MACHINE_ARM
||
if
(
nt
->
FileHeader
.
Machine
==
IMAGE_FILE_MACHINE_ARMV7
||
nt
->
FileHeader
.
Machine
==
IMAGE_FILE_MACHINE_ARM
||
nt
->
FileHeader
.
Machine
==
IMAGE_FILE_MACHINE_THUMB
)
return
STATUS_SUCCESS
;
#endif
...
...
@@ -1074,6 +1075,7 @@ static NTSTATUS check_architecture( const IMAGE_NT_HEADERS *nt )
case
IMAGE_FILE_MACHINE_ALPHA64
:
arch
=
"Alpha-64"
;
break
;
case
IMAGE_FILE_MACHINE_AMD64
:
arch
=
"AMD-64"
;
break
;
case
IMAGE_FILE_MACHINE_ARM
:
arch
=
"ARM"
;
break
;
case
IMAGE_FILE_MACHINE_ARMV7
:
arch
=
"ARMv7"
;
break
;
case
IMAGE_FILE_MACHINE_THUMB
:
arch
=
"ARM Thumb"
;
break
;
case
IMAGE_FILE_MACHINE_SPARC
:
arch
=
"SPARC"
;
break
;
default:
arch
=
wine_dbg_sprintf
(
"Unknown-%04x"
,
nt
->
FileHeader
.
Machine
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment