summaryrefslogtreecommitdiff
path: root/data/libffi/assembler.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/libffi/assembler.diff
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libffi/assembler.diff')
-rw-r--r--data/libffi/assembler.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/data/libffi/assembler.diff b/data/libffi/assembler.diff
new file mode 100644
index 000000000..a6b6c6c18
--- /dev/null
+++ b/data/libffi/assembler.diff
@@ -0,0 +1,43 @@
+Index: src/arm/sysv.S
+===================================================================
+--- libffi/src/arm/sysv.S (revision 130618)
++++ libffi+iPhone/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)
+