summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-09-20 17:55:49 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-09-20 17:55:49 +0000
commit291bc553341678ea35ec32f93fdd5e41c06d26f2 (patch)
tree13b06de4558d6d937cc9b07456e751b91cdb9bc7 /dev-libs/libffi/files
parentFixed the build system to honour the MAKEOPTS job number, fixed forced --as-n... (diff)
downloadgentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.tar.gz
gentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.tar.bz2
gentoo-2-291bc553341678ea35ec32f93fdd5e41c06d26f2.zip
Add patch to fix ARM OABI, by Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
(Portage version: 2.1.8.3/cvs/Linux ia64)
Diffstat (limited to 'dev-libs/libffi/files')
-rw-r--r--dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch b/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch
new file mode 100644
index 000000000000..e804dcc62f9e
--- /dev/null
+++ b/dev-libs/libffi/files/libffi-3.0.9-arm-oabi.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.3.4/libffi/src/arm/sysv.S
+===================================================================
+--- gcc-4.3.4.orig/libffi/src/arm/sysv.S
++++ gcc-4.3.4/libffi/src/arm/sysv.S
+@@ -235,7 +235,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