patches/gcc/4.3.5/410-pr42289-fix-libffi-build-on-arm-oabi.patch
author |
Johannes Stezenbach <js@sig21.net> |
|
Fri Nov 02 04:04:04 2012 +0000 (2012-11-02) |
changeset 3102 |
75c2df0f7a12 |
permissions |
-rw-r--r-- |
libc/eglibc: enable rpc in eglibc-2.16+
While eglibc-2.16 recommends to use TI-RPC instead of the old sunrpc, the
old one can be included using a configure option. Since the user can still
use TI-RPC to override the libc implementation, we enable rpc unconditionally.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121102140404.GA7707@sig21.net>
Patchwork-Id: 196564
yann@2202
|
1 |
--- gcc-4.3.4/libffi/src/arm/sysv.S
|
yann@2202
|
2 |
+++ gcc-4.3.4/libffi/src/arm/sysv.S
|
yann@2202
|
3 |
@@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV
|
yann@2202
|
4 |
stmfd sp!, {ip, lr}
|
yann@2202
|
5 |
UNWIND .save {r0, lr}
|
yann@2202
|
6 |
add r2, sp, #8
|
yann@2202
|
7 |
- .pad #16
|
yann@2202
|
8 |
+ UNWIND .pad #16
|
yann@2202
|
9 |
sub sp, sp, #16
|
yann@2202
|
10 |
str sp, [sp, #8]
|
yann@2202
|
11 |
add r1, sp, #8
|