[PATCH 2 of 2] cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildroot

Arnaud Lacombe lacombar@gmail.com
Wed Nov 10 20:59:00 GMT 2010


Hi,

Have you, at the very least, taken the time discuss this on gcc mailing list ?

 - Arnaud

On Wed, Nov 10, 2010 at 1:39 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> # HG changeset patch
> # User Bryan Hundven <bryanhundven@gmail.com>
> # Date 1289414254 28800
> # Node ID 004114cd46bbf54ae6ec65a6f885bc19d2183fd4
> # Parent  9c71049a2a36a3d4bbc30d3032175be618b312b5
> cc/gcc: 4.4.5, add arm-softfloat-libgcc patch from buildroot
>
> Reported-by: M P <buserror@gmail.com>
>
> diff -r 9c71049a2a36 -r 004114cd46bb patches/gcc/4.4.5/390-arm-softfloat-libgcc.patch
> --- /dev/null   Thu Jan 01 00:00:00 1970 +0000
> +++ b/patches/gcc/4.4.5/390-arm-softfloat-libgcc.patch  Wed Nov 10 10:37:34 2010 -0800
> @@ -0,0 +1,38 @@
> +[PATCH] add the correct symbols to libgcc for uclibc arm softfloat
> +
> +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
> +---
> + gcc/config/arm/linux-elf.h |    2 +-
> + gcc/config/arm/t-linux     |    6 +++++-
> + 2 files changed, 6 insertions(+), 2 deletions(-)
> +
> +Index: gcc-4.4.0/gcc/config/arm/t-linux
> +===================================================================
> +--- gcc-4.4.0.orig/gcc/config/arm/t-linux
> ++++ gcc-4.4.0/gcc/config/arm/t-linux
> +@@ -4,7 +4,11 @@
> +
> + LIB1ASMSRC = arm/lib1funcs.asm
> + LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
> +-      _arm_addsubdf3 _arm_addsubsf3
> ++      _arm_addsubdf3 _arm_addsubsf3 \
> ++      _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
> ++      _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
> ++      _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
> ++      _arm_fixsfsi _arm_fixunssfsi
> +
> + # MULTILIB_OPTIONS = mhard-float/msoft-float
> + # MULTILIB_DIRNAMES = hard-float soft-float
> +Index: gcc-4.4.0/gcc/config/arm/linux-elf.h
> +===================================================================
> +--- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h
> ++++ gcc-4.4.0/gcc/config/arm/linux-elf.h
> +@@ -60,7 +60,7 @@
> +    %{shared:-lc} \
> +    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
> +
> +-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
> ++#define LIBGCC_SPEC "-lgcc"
> +
> + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
> +
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list