patches/gcc/4.4.4/400-pr42289-fix-libffi-build-on-arm-oabi.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 17:54:21 2011 +0200 (2011-07-17)
changeset 2888 dd71df95903a
permissions -rw-r--r--
cc/gcc: pass the companion libs prefix to cc_core

In case of canadian-cross, the companion libraries are not the same for
the core cc (they run on 'build') as they are for the final cc (they run
on 'host').

Prepare for this differentiation (coming later), while retaining the
current behavior (to use the same compblibs).

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