You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
500 B
18 lines
500 B
9 years ago
|
Patch to allow building libffi using clang:
|
||
|
https://github.com/libffi/libffi/issues/191
|
||
|
|
||
|
Can be dropped after the next libffi release.
|
||
|
|
||
|
diff -u -r ../libffi-3.2.1/src/arm/sysv.S ./src/arm/sysv.S
|
||
|
--- ../libffi-3.2.1/src/arm/sysv.S 2014-11-08 07:47:24.000000000 -0500
|
||
|
+++ ./src/arm/sysv.S 2016-05-16 20:37:25.684302345 -0400
|
||
|
@@ -396,7 +396,7 @@
|
||
|
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
|