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
ca4451fa
Commit
ca4451fa
authored
Jun 16, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add unwind annotations to the call_entry_point function for x86_64.
parent
b9fd2c8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
24 deletions
+34
-24
relay.c
dlls/ntdll/relay.c
+34
-24
No files found.
dlls/ntdll/relay.c
View file @
ca4451fa
...
...
@@ -342,30 +342,40 @@ __ASM_GLOBAL_FUNC( call_entry_point,
"
\t
ret"
)
#else
__ASM_GLOBAL_FUNC
(
call_entry_point
,
"
\t
pushq %rbp
\n
"
"
\t
movq %rsp,%rbp
\n
"
"
\t
pushq %rsi
\n
"
"
\t
pushq %rdi
\n
"
"
\t
movq %rcx,%rax
\n
"
"
\t
movq $4,%rcx
\n
"
"
\t
cmp %rcx,%rdx
\n
"
"
\t
cmovgq %rdx,%rcx
\n
"
"
\t
leaq 0(,%rcx,8),%rdx
\n
"
"
\t
subq %rdx,%rsp
\n
"
"
\t
andq $~15,%rsp
\n
"
"
\t
movq %rsp,%rdi
\n
"
"
\t
movq %r8,%rsi
\n
"
"
\t
rep; movsq
\n
"
"
\t
movq 0(%rsp),%rcx
\n
"
"
\t
movq 8(%rsp),%rdx
\n
"
"
\t
movq 16(%rsp),%r8
\n
"
"
\t
movq 24(%rsp),%r9
\n
"
"
\t
callq *%rax
\n
"
"
\t
leaq -16(%rbp),%rsp
\n
"
"
\t
popq %rdi
\n
"
"
\t
popq %rsi
\n
"
"
\t
popq %rbp
\n
"
"
\t
ret
\n
"
)
"pushq %rbp
\n\t
"
".cfi_adjust_cfa_offset 8
\n\t
"
".cfi_rel_offset %rbp,0
\n\t
"
"movq %rsp,%rbp
\n\t
"
".cfi_def_cfa_register %rbp
\n\t
"
"pushq %rsi
\n\t
"
".cfi_rel_offset %rsi,-8
\n\t
"
"pushq %rdi
\n\t
"
".cfi_rel_offset %rdi,-16
\n\t
"
"movq %rcx,%rax
\n\t
"
"movq $4,%rcx
\n\t
"
"cmp %rcx,%rdx
\n\t
"
"cmovgq %rdx,%rcx
\n\t
"
"leaq 0(,%rcx,8),%rdx
\n\t
"
"subq %rdx,%rsp
\n\t
"
"andq $~15,%rsp
\n\t
"
"movq %rsp,%rdi
\n\t
"
"movq %r8,%rsi
\n\t
"
"rep; movsq
\n\t
"
"movq 0(%rsp),%rcx
\n\t
"
"movq 8(%rsp),%rdx
\n\t
"
"movq 16(%rsp),%r8
\n\t
"
"movq 24(%rsp),%r9
\n\t
"
"callq *%rax
\n\t
"
"leaq -16(%rbp),%rsp
\n\t
"
"popq %rdi
\n\t
"
".cfi_same_value %rdi
\n\t
"
"popq %rsi
\n\t
"
".cfi_same_value %rsi
\n\t
"
".cfi_def_cfa_register %rsp
\n\t
"
"popq %rbp
\n\t
"
".cfi_adjust_cfa_offset -8
\n\t
"
".cfi_same_value %rbp
\n\t
"
"ret"
)
#endif
...
...
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