Message ID | CAEwic4Z+qdfahbN_Zi4Y66rkuWnaA1MhokYnQTwC2mnpOjpGCQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 03/22/2013 07:42 AM, Kai Tietz wrote: > Tested for x86_64-w64-mingw32, and for upcoming x86_64-pc-cygwin > target. Ok for apply? Yes, that's fine. Andrew.
Index: src/x86/win64.S =================================================================== --- src/x86/win64.S (Revision 196898) +++ src/x86/win64.S (Arbeitskopie) @@ -295,7 +295,7 @@ mov %rax, %rcx # context is first parameter mov %rsp, %rdx # stack is second parameter add $48, %rdx # point to start of arguments - mov $SYMBOL_NAME(ffi_closure_win64_inner), %rax + leaq SYMBOL_NAME(ffi_closure_win64_inner)(%rip), %rax callq *%rax # call the real closure function add $40, %rsp movq %rax, %xmm0 # If the closure returned a float,