Bug 510653. Fix mingw-w64 xptcstub SharedStub assembly (incorrectly copied from msvc). r=timeless

--HG--
extra : rebase_source : 925a1318a3eae47276518be53f4af952431715cf
This commit is contained in:
Mook 2009-09-02 14:46:47 +12:00
parent 20006897ae
commit f31f7d788b

View File

@ -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 */ \
"");