mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-29 00:58:51 +00:00
25953c386f
Fix building libffi on OABI. Although it has been marked as 4.3-only, it is stil not fixed, and also applies to 4.4.x See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 lines
272 B
Diff
12 lines
272 B
Diff
--- gcc-4.3.4/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
|