This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Patch to Enhance m68k Support
- From: Anthony Green <green at redhat dot com>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: <libffi-discuss at sourceware dot org>, Ian Lance Taylor <iant at google dot com>, Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Date: Tue, 08 Feb 2011 08:15:11 -0500
- Subject: Re: Patch to Enhance m68k Support
- References: <4D504954.2090902@oarcorp.com>
Joel Sherrill <joel.sherrill@oarcorp.com> writes:
> Hi,
>
> Ian and I have been working on trying to get Go to
> work on as many rtems targets as possible. Go
> requires that libffi support be in place and this
> is the first time RTEMS has needed libffi.
>
> RTEMS builds a lot of multilibs and the m68k libffi code
> did not support anything but 68020-ish CPUs with
> HW FPU. This patch adds support for Coldfire cores,
> mc68000 cores, and soft float variants. It also
> adds support for flushing the cache on RTEMS.
>
> I reported this as and got review on the patch as
> GCC PR47442 but it appears that Ralf also reported this
> in 2004 as PR14555 and I am a CC on that. But now we
> really need it. LOL
>
> Can someone please apply this and bring it into gcc?
Hi Joel,
Please go ahead and check this directly into the GCC tree if you like.
The merge into libffi git from GCC is semi-automated (one happened
earlier today).
AG
>
> Thanks.
>
> 2011-02-07 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * libffi/src/m68k/ffi.c: Add RTEMS support for cache flushing.
> Handle case when CPU variant does not have long double support.
> * libffi/src/m68k/sysv.S: Add support for mc68000, Coldfire,
> and cores with soft floating point.