msi: Fix stack alignment in CUSTOMPROC_wrapper.
Spotted by Dmitry Timoshkov. Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e37e0f2743
commit
92aa91d2de
|
@ -539,6 +539,7 @@ __ASM_GLOBAL_FUNC( CUSTOMPROC_wrapper,
|
||||||
__ASM_CFI(".cfi_rel_offset %ebp,0\n\t")
|
__ASM_CFI(".cfi_rel_offset %ebp,0\n\t")
|
||||||
"movl %esp,%ebp\n\t"
|
"movl %esp,%ebp\n\t"
|
||||||
__ASM_CFI(".cfi_def_cfa_register %ebp\n\t")
|
__ASM_CFI(".cfi_def_cfa_register %ebp\n\t")
|
||||||
|
"subl $4,%esp\n\t"
|
||||||
"pushl 12(%ebp)\n\t"
|
"pushl 12(%ebp)\n\t"
|
||||||
"movl 8(%ebp),%eax\n\t"
|
"movl 8(%ebp),%eax\n\t"
|
||||||
"call *%eax\n\t"
|
"call *%eax\n\t"
|
||||||
|
|
Loading…
Reference in New Issue