This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
* 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.
-- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
Attachment:
libffi-m68k.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |