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
9b6f715b
Commit
9b6f715b
authored
Feb 15, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Restore all x86_64 control registers in syscall dispatcher.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b817eb3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
import.c
tools/winebuild/import.c
+4
-3
No files found.
tools/winebuild/import.c
View file @
9b6f715b
...
...
@@ -1564,11 +1564,12 @@ void output_syscalls( DLLSPEC *spec )
output_cfi
(
".cfi_same_value %%rsi"
);
output
(
"
\t
movq -0x90(%%rbp),%%rbx
\n
"
);
output_cfi
(
".cfi_same_value %%rbx"
);
output
(
"
\t
leaq -0x28(%%rbp),%%rsp
\n
"
);
output_cfi
(
".cfi_def_cfa_register %%rsp"
);
output
(
"
\t
leave
\n
"
);
output
_cfi
(
".cfi_adjust_cfa_offset -8
"
);
output
_cfi
(
".cfi_adjust_cfa_offset 40
"
);
output
(
"
\t
movq (%%rbp),%%rbp
\n
"
);
output_cfi
(
".cfi_same_value %%rbp"
);
output
(
"
\t
ret
\n
"
);
output
(
"
\t
iretq
\n
"
);
output
(
"3:
\t
movl $0x%x,%%eax
\n
"
,
invalid_param
);
output
(
"
\t
jmp 2b
\n
"
);
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