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
39d54523
Commit
39d54523
authored
May 16, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Preserve registers in call_thread_entry_point on x86_64.
parent
69326aa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+21
-4
No files found.
dlls/ntdll/signal_x86_64.c
View file @
39d54523
...
...
@@ -2992,16 +2992,33 @@ void call_thread_func( LPTHREAD_START_ROUTINE entry, void *arg, void *frame )
extern
void
DECLSPEC_NORETURN
call_thread_entry_point
(
LPTHREAD_START_ROUTINE
entry
,
void
*
arg
);
__ASM_GLOBAL_FUNC
(
call_thread_entry_point
,
"subq $8,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 8
\n\t
"
)
"subq $56,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 56
\n\t
"
)
"movq %rbp,48(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rbp,48
\n\t
"
)
"movq %rbx,40(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %rbx,40
\n\t
"
)
"movq %r12,32(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %r12,32
\n\t
"
)
"movq %r13,24(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %r13,24
\n\t
"
)
"movq %r14,16(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %r14,16
\n\t
"
)
"movq %r15,8(%rsp)
\n\t
"
__ASM_CFI
(
".cfi_rel_offset %r15,8
\n\t
"
)
"movq %rsp,%rdx
\n\t
"
"call "
__ASM_NAME
(
"call_thread_func"
)
);
extern
void
DECLSPEC_NORETURN
call_thread_exit_func
(
int
status
,
void
(
*
func
)(
int
),
void
*
frame
);
__ASM_GLOBAL_FUNC
(
call_thread_exit_func
,
"subq $8,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 8
\n\t
"
)
"movq %rdx,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 56
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %rbp,48
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %rbx,40
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r12,32
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r13,24
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r14,16
\n\t
"
)
__ASM_CFI
(
".cfi_rel_offset %r15,8
\n\t
"
)
"call *%rsi"
);
/***********************************************************************
...
...
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