summaryrefslogtreecommitdiff
path: root/devel/libffi/files/patch-src_arm_sysv.S
blob: 228dc3de30613ff05a523af07b434f8a376376dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Description: 3.2.1 fails to build with clang 3.5.0 on arm
# Issue ID: https://github.com/atgreen/libffi/issues/162
# Submitted by: sbruno

--- src/arm/sysv.S.orig	2015-01-01 10:47:51 UTC
+++ src/arm/sysv.S
@@ -396,7 +396,7 @@ LSYM(Lbase_args):
 	beq	LSYM(Lepilogue_vfp)
 
 	cmp	r3, #FFI_TYPE_SINT64
-	stmeqia	r2, {r0, r1}
+	stmiaeq	r2, {r0, r1}
 	beq	LSYM(Lepilogue_vfp)
 
 	cmp	r3, #FFI_TYPE_FLOAT