summaryrefslogtreecommitdiff
path: root/data/libffi/assembler.diff
blob: 8d46ac5f1a72f0ce2c090e4e7003892bf6bc10b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Index: libffi/src/arm/sysv.S
===================================================================
--- gcc/libffi/src/arm/sysv.S	(revision 130618)
+++ gcc+iPhone/libffi/src/arm/sysv.S	(working copy)
@@ -38,7 +38,7 @@
 #else
 #define CNAME(x) x
 #endif
-#define ENTRY(x) .globl CNAME(x); .type CNAME(x),%function; CNAME(x):
+#define ENTRY(x) .globl CNAME(x); CNAME(x):
 #endif
 
 #ifdef __ELF__
@@ -219,7 +219,7 @@
 
 .ffi_call_SYSV_end:
 	UNWIND .fnend
-        .size    CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
+@        .size    CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
 
 /*
 	unsigned int FFI_HIDDEN
@@ -235,11 +235,11 @@
 	stmfd	sp!, {ip, lr}
 	UNWIND .save	{r0, lr}
 	add	r2, sp, #8
-	.pad #16
+@	.pad #16
 	sub	sp, sp, #16
 	str	sp, [sp, #8]
 	add	r1, sp, #8
-	bl	ffi_closure_SYSV_inner
+	bl	_ffi_closure_SYSV_inner
 	cmp	r0, #FFI_TYPE_INT
 	beq	.Lretint
 
@@ -291,5 +291,5 @@
 
 .ffi_closure_SYSV_end:
 	UNWIND .fnend
-        .size    CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
+@        .size    CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)