This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, Nov 10, 2010 at 12:58 PM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi,
>
> Have you, at the very least, taken the time discuss this on gcc mailing list ?

I didn't think that I would have to talk with the gcc developers to
get a patch into crosstool-ng.
Maybe I'm wrong?

As you and I have discussed before, if you don't want my patches,
don't take them. ;-)
I and maybe others have found them useful, so I post them here.

For this particular patch... I found it in buildroot and it solved
Michael issue, so I made the assumption that it was ok to add to
crosstool-ng.
The patch is posted to crossgcc, and if you don't think it should go
in, then it is fine with me.

> Â- Arnaud

-Bryan

> 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
>>
>>
>



-- 
Bryan Hundven
bryanhundven@gmail.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]