mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 510653. Fix mingw-w64 xptcstub SharedStub assembly (incorrectly copied from msvc). r=timeless
--HG-- extra : rebase_source : 925a1318a3eae47276518be53f4af952431715cf
This commit is contained in:
parent
413ad93ea7
commit
23111bdd6d
@ -217,6 +217,7 @@ __asm__ (
|
||||
".globl SharedStub\n"
|
||||
".def SharedStub ; .scl 3 ; .type 46 ; .endef \n"
|
||||
"SharedStub:\n"
|
||||
"sub rsp, 104\n"
|
||||
|
||||
/* rcx is this pointer. Need backup for optimized build */
|
||||
|
||||
@ -314,8 +315,7 @@ asm(".intel_syntax\n" /* this is in intel syntax */ \
|
||||
".else\n" \
|
||||
".err \"stub number " #n " >= 1000 not yet supported\"\n" \
|
||||
".endif\n" \
|
||||
"push rbx\n" \
|
||||
"mov rbx, " #n "\n" \
|
||||
"mov r11, " #n "\n" \
|
||||
"jmp SharedStub\n" \
|
||||
".att_syntax\n" /* back to AT&T syntax */ \
|
||||
"");
|
||||
|
Loading…
Reference in New Issue
Block a user