patches/gcc/4.4.2/400-pr42289-fix-libffi-build-on-arm-oabi.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 31 16:47:42 2011 +0200 (2011-08-31)
changeset 2672 7cfaaf8204e7
permissions -rw-r--r--
cc/gcc: libgcc_eh.a may be required, even from the stage-1 compiler

Building uClibc with libubacktrace requires libgcc_eh.a to be available,
but gcc does not build it unless it is configured to generate shared libs.

However, libgcc_eh.a does not *require* shared libs support, as it is a
static library.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 --- gcc-4.3.4/libffi/src/arm/sysv.S	
     2 +++ gcc-4.3.4/libffi/src/arm/sysv.S	
     3 @@ -235,7 +235,7 @@ ARM_FUNC_START ffi_closure_SYSV
     4  	stmfd	sp!, {ip, lr}
     5  	UNWIND .save	{r0, lr}
     6  	add	r2, sp, #8
     7 -	.pad #16
     8 +	UNWIND .pad #16
     9  	sub	sp, sp, #16
    10  	str	sp, [sp, #8]
    11  	add	r1, sp, #8