Commit 70150bdf4509269965c72f2032bf74f285767afe

Landon Fuller 2010-09-18T16:38:03

Add missing UNWIND entry; disables .pad on non-EABI targets.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/arm/sysv.S b/src/arm/sysv.S
index 2593c48..b0ae8f0 100644
--- a/src/arm/sysv.S
+++ b/src/arm/sysv.S
@@ -255,7 +255,7 @@ ARM_FUNC_START ffi_closure_SYSV
 	stmfd	sp!, {ip, lr}
 	UNWIND .save	{r0, lr}
 	add	r2, sp, #8
-	.pad #16
+	UNWIND .pad #16
 	sub	sp, sp, #16
 	str	sp, [sp, #8]
 	add	r1, sp, #8