diff options
author | Sam Bingner <sam@bingner.com> | 2019-03-30 23:05:57 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-03-30 23:05:57 -1000 |
commit | d9683717dad98e5444a6c1db3d74504366248110 (patch) | |
tree | bc466cdc39ec96c857c6ab42d52e33cd34d09436 /data/libffi/assembler.diff | |
parent | 3e6395f40520bb45d5bef4543d61e2ba529629b1 (diff) | |
parent | 5297837aba56e3766f10ab6cffb52a680664ec92 (diff) |
Merge branch 'telesphoreo'
Diffstat (limited to 'data/libffi/assembler.diff')
-rw-r--r-- | data/libffi/assembler.diff | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/data/libffi/assembler.diff b/data/libffi/assembler.diff new file mode 100644 index 000000000..344d7efc6 --- /dev/null +++ b/data/libffi/assembler.diff @@ -0,0 +1,34 @@ +diff -ur libffi-3.2.1/src/arm/sysv.S libffi-3.2.1+iPhone/src/arm/sysv.S +--- libffi-3.2.1/src/arm/sysv.S 2014-11-08 02:47:24.000000000 -1000 ++++ libffi-3.2.1+iPhone/src/arm/sysv.S 2019-03-30 22:41:22.000000000 -1000 +@@ -322,7 +322,9 @@ + Add VFP FPU directive here. This is only compiled into the library + under EABI. */ + #ifdef __ARM_EABI__ ++#ifndef __APPLE__ + .fpu vfp ++#endif + + @ r0: fn + @ r1: &ecif +@@ -416,7 +418,9 @@ + + .ffi_call_VFP_end: + UNWIND .fnend ++#ifdef __ELF__ + .size CNAME(ffi_call_VFP),.ffi_call_VFP_end-CNAME(ffi_call_VFP) ++#endif + + + ARM_FUNC_START(ffi_closure_VFP) +@@ -478,8 +482,10 @@ + + .ffi_closure_VFP_end: + UNWIND .fnend ++#ifdef __ELF__ + .size CNAME(ffi_closure_VFP),.ffi_closure_VFP_end-CNAME(ffi_closure_VFP) + #endif ++#endif + + ENTRY(ffi_arm_trampoline) + stmfd sp!, {r0-r3} |