[PATCH] add bfin target
Michael Ambrus
ambrmi09@gmail.com
Mon Sep 25 23:21:00 GMT 2006
On 9/14/06, Jeff Johnston <jjohnstn@redhat.com> wrote:
> Hi Alain,
>
> A couple of points/comments.
>
> 1. You need to define the setjmp buffer in libc/include/machine/setjmp.h
>
I added the define in the enclosed patch and also re-added the
__IEEE_LITTLE_ENDIAN define.
Alain, can you please verify that the #define _JBLEN 40 is correct? I
was making a guess based on your code. It seems you needed to reserve
0xA0 bytes, and based on the assumption that a bfin long is 4 bytes I
came the result of 40.
The whole tool chain now builds for HIXS and produces code that will
not offend AC_PROG_CC.
Configure settings used
binutils:
../../../binutils-2.17/configure --target=bfin-hixs-elf
--prefix=/skiff --enable-interwork --enable-multilib --disable-libssp
gcc:
../../../gcc-4.1.1/configure --target=bfin-hixs-elf --prefix=/skiff
--enable-interwork --enable-multilib --disable-libssp --with-newlib
--with-headers=/opt/gnutools/newlib-1.14.0/newlib/libc/include
--enable-languages=c,c++
newlib:
../../../newlib-1.14.0/configure --target=bfin-hixs-elf
--prefix=/skiff --enable-interwork --enable-multilib --disable-libssp
gdb:
../../../gdb-6.5.50.20060911/configure --target=bfin-hixs-elf
--prefix=/skiff --enable-interwork --enable-multilib --disable-libssp
Regards
/Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-bfin-more-060925.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20060925/efc3d8a4/attachment.bin>
More information about the Newlib
mailing list