Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4e0e6238
Commit
4e0e6238
authored
May 02, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Generate stub entry points as x86-64 code on ARM64EC.
Partial revert of
220a70be
.
parent
6d931c27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
loader.c
dlls/ntdll/loader.c
+2
-2
No files found.
dlls/ntdll/loader.c
View file @
4e0e6238
...
...
@@ -436,7 +436,7 @@ struct stub
const
char
*
name
;
const
void
*
entry
;
};
#elif defined(__aarch64__)
|| defined(__arm64ec__)
#elif defined(__aarch64__)
struct
stub
{
DWORD
ldr_x0
;
/* ldr x0, $dll */
...
...
@@ -500,7 +500,7 @@ static ULONG_PTR allocate_stub( const char *dll, const char *name )
stub
->
dll
=
dll
;
stub
->
name
=
name
;
stub
->
entry
=
stub_entry_point
;
#elif defined(__aarch64__)
|| defined(__arm64ec__)
#elif defined(__aarch64__)
stub
->
ldr_x0
=
0x580000a0
;
/* ldr x0, #20 ($dll) */
stub
->
ldr_x1
=
0x580000c1
;
/* ldr x1, #24 ($name) */
stub
->
mov_x2_lr
=
0xaa1e03e2
;
/* mov x2, lr */
...
...
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