|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
--- libffi-3.2.1/src/x86/win32.S.orig2 2016-05-31 09:21:19.120895425 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+++ libffi-3.2.1/src/x86/win32.S 2016-05-31 09:22:19.252894091 +0000
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -529,7 +529,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
# This assumes we are using gas.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_call_win32)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_call_win32)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_call_win32; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -712,7 +714,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
ret
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.ffi_call_win32_end:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_THISCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_THISCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_closure_THISCALL; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -725,7 +729,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
jmp .ffi_closure_STDCALL_internal
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_FASTCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_FASTCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_closure_FASTCALL; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -737,7 +743,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
push %edx
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
push %ecx
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
jmp .ffi_closure_STDCALL_internal
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_REGISTER)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_REGISTER)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_closure_REGISTER; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -754,7 +762,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.LFE1:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
# This assumes we are using gas.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_SYSV)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_SYSV)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -898,7 +908,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#ifdef X86_WIN32
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_raw_THISCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_raw_THISCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_closure_raw_THISCALL; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -1040,7 +1052,9 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
# This assumes we are using gas.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.balign 16
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#ifndef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
FFI_HIDDEN(ffi_closure_STDCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.globl USCORE_SYMBOL(ffi_closure_STDCALL)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#if defined(X86_WIN32) && !defined(__OS2__)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.def _ffi_closure_STDCALL; .scl 2; .type 32; .endef
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
@@ -1345,10 +1359,17 @@
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.LEFDE5:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#ifdef __midipix__
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#if defined(SYMBOL_UNDERSCORE)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+ .section .got$ffi__call_win32,"r"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+ .global __imp__ffi_call_win32
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+__imp__ffi_call_win32:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+ .long _ffi_call_win32
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.section .got$ffi_call_win32,"r"
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.global __imp_ffi_call_win32
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
__imp_ffi_call_win32:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.long ffi_call_win32
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
+#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
.linkonce discard
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
#endif
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
951620 |
|