mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
ARM VFP fix for old toolchains
This commit is contained in:
+4
-1
@@ -334,7 +334,9 @@ ARM_FUNC_START ffi_closure_SYSV
|
||||
|
||||
|
||||
/* Below are VFP hard-float ABI call and closure implementations.
|
||||
Add VFP FPU directive here. */
|
||||
Add VFP FPU directive here. This is only compiled into the library
|
||||
under EABI. */
|
||||
#ifdef __ARM_EABI__
|
||||
.fpu vfp
|
||||
|
||||
@ r0: fn
|
||||
@@ -491,6 +493,7 @@ ARM_FUNC_START ffi_closure_VFP
|
||||
.ffi_closure_VFP_end:
|
||||
UNWIND .fnend
|
||||
.size CNAME(ffi_closure_VFP),.ffi_closure_VFP_end-CNAME(ffi_closure_VFP)
|
||||
#endif
|
||||
|
||||
ENTRY(ffi_arm_trampoline)
|
||||
stmfd sp!, {r0-r3}
|
||||
|
||||
Reference in New Issue
Block a user