Bug 644136 - Add missing fpu directive to fix libffi build on ARM hardfloat systems; r=bsmedberg
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Sun, 28 Aug 2011 12:03:22 +0100
changeset 76011 0be4a94258c28b97a7e6e87b099359c759941b22
parent 76010 f1cf848b1ff22bad8980b673cc4410a21c8bdf28
child 76012 500c2ddb52c1b8d457c72480f2c1f74212860a8f
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersbsmedberg
bugs644136
milestone9.0a1
Bug 644136 - Add missing fpu directive to fix libffi build on ARM hardfloat systems; r=bsmedberg
js/src/ctypes/libffi/src/arm/sysv.S
--- a/js/src/ctypes/libffi/src/arm/sysv.S
+++ b/js/src/ctypes/libffi/src/arm/sysv.S
@@ -224,16 +224,20 @@ ARM_FUNC_START ffi_call_SYSV
 LSYM(Lepilogue):
 	RETLDM	"r0-r3,fp"
 
 .ffi_call_SYSV_end:
 	UNWIND .fnend
         .size    CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
 
 
+/* Below are VFP hard-float ABI call and closure implementations.
+   Add VFP FPU directive here. */
+	.fpu	vfp
+
 	@ r0:   fn
 	@ r1:   &ecif
 	@ r2:   cif->bytes
 	@ r3:   fig->flags
 	@ sp+0: ecif.rvalue
 
 ARM_FUNC_START ffi_call_VFP
 	@ Save registers