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
6cf3cbe4
Commit
6cf3cbe4
authored
Oct 27, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
Oct 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Align stack in GetProcAddress() on x64.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
94f22b56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
loader.c
dlls/kernelbase/loader.c
+10
-10
No files found.
dlls/kernelbase/loader.c
View file @
6cf3cbe4
...
...
@@ -447,18 +447,18 @@ __ASM_GLOBAL_FUNC( GetProcAddress,
"movq %rsp,%rbp
\n\t
"
__ASM_SEH
(
".seh_setframe %rbp,0
\n\t
"
)
__ASM_CFI
(
".cfi_def_cfa_register %rbp
\n\t
"
)
"subq $0x60,%rsp
\n\t
"
__ASM_SEH
(
".seh_stackalloc 0x60
\n\t
"
)
__ASM_SEH
(
".seh_endprologue
\n\t
"
)
"movaps %xmm0,-0x10(%rbp)
\n\t
"
"movaps %xmm1,-0x20(%rbp)
\n\t
"
"movaps %xmm2,-0x30(%rbp)
\n\t
"
"movaps %xmm3,-0x40(%rbp)
\n\t
"
"subq $0x60,%rsp
\n\t
"
"andq $~15,%rsp
\n\t
"
"movaps %xmm0,0x20(%rsp)
\n\t
"
"movaps %xmm1,0x30(%rsp)
\n\t
"
"movaps %xmm2,0x40(%rsp)
\n\t
"
"movaps %xmm3,0x50(%rsp)
\n\t
"
"call "
__ASM_NAME
(
"get_proc_address"
)
"
\n\t
"
"movaps
-0x40(%rb
p), %xmm3
\n\t
"
"movaps
-0x30(%rb
p), %xmm2
\n\t
"
"movaps
-0x20(%rb
p), %xmm1
\n\t
"
"movaps
-0x10(%rb
p), %xmm0
\n\t
"
"movaps
0x50(%rs
p), %xmm3
\n\t
"
"movaps
0x40(%rs
p), %xmm2
\n\t
"
"movaps
0x30(%rs
p), %xmm1
\n\t
"
"movaps
0x20(%rs
p), %xmm0
\n\t
"
"leaq 0(%rbp),%rsp
\n\t
"
__ASM_CFI
(
".cfi_def_cfa_register %rsp
\n\t
"
)
"popq %rbp
\n\t
"
...
...
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