[PATCH] glibc-2.4/2.5 update for MIPS and ARM glibc with NPTL and ports.
Mile Davidovic
Mile.Davidovic@micronasnit.com
Wed May 23 14:43:00 GMT 2007
Hello Mr. Hill,
I tried to build mips based toolchain with Your patch and I tried and it works
fine except that I always got next message:
Algorithmics/MIPS FPU Emulator v1.5 which is caused by (I believe) executing
float instructions on float-less cpu.
I added in demo-mips-nptl.sh next 2 lines:
GCC_EXTRA_CONFIG="--with-float=soft"
GLIBC_EXTRA_CONFIG="--without-fp"
But even with this it seems that at least __longjmp, __sigsetjmp_aux functions
(from ports/sysdeps/mips/__longjmp.c) are build without -msoft-float options. If
I dump small sample created with
mips-unknown-linux-gnu-gcc -msoft-float -static hello.c -o soft.elf I got:
0044d410 <__longjmp>:
44d410: c4950038 lwc1 $f21,56(a0)
44d414: c494003c lwc1 $f20,60(a0)
44d418: c4970040 lwc1 $f23,64(a0)
44d41c: c4960044 lwc1 $f22,68(a0)
44d420: c4990048 lwc1 $f25,72(a0)
44d424: c498004c lwc1 $f24,76(a0)
44d428: c49b0050 lwc1 $f27,80(a0)
44d42c: c49a0054 lwc1 $f26,84(a0)
44d430: c49d0058 lwc1 $f29,88(a0)
44d434: c49c005c lwc1 $f28,92(a0)
44d438: c49f0060 lwc1 $f31,96(a0)
44d43c: c49e0064 lwc1 $f30,100(a0)
44d440: 8c820030 lw v0,48(a0)
44d444: 00000000 nop
44d448: 44c2f800 ctc1 v0,$31
...
Did I miss something? What is proper way for creating soft-float toolchain?
Thanks in advance
Mile
> -----Original Message-----
> From: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org]
> On Behalf Of Steven J. Hill
> Sent: Tuesday, March 27, 2007 4:14 AM
> To: crossgcc@sourceware.org
> Subject: [PATCH] glibc-2.4/2.5 update for MIPS and ARM glibc with NPTL and
> ports.
>
> This is a combined patch using Khem's original cut at things as well as
> supporting both big and little endian MIPS NPTL toolchains for glibc using
> the latest 2.5 release. Hopefully it can be in the 0.44 release.
> In the event that the attachment does not come through right, it is also
> available from;
>
> ftp://ftp.realitydiluted.com/linux/crosstool/crosstool-0.43
>
> Thanks.
>
> -Steve
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list