This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: libffi mips code imported from GCC's svn
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Fri, 01 Feb 2008 09:47:04 +0000
- Subject: Re: libffi mips code imported from GCC's svn
- References: <47A2CC51.8080908@avtrex.com>
David Daney wrote:
Anthony et al.,
Congratulations on 10 years of libffi.
FYI:
Some of the changes I have committed to libffi MIPS support in GCC's svn
depend on GCC extensions. It probably will not work with anything less
than GCC-4.3.
Of concern are:
src/mips/ffi.c:618 where I use the new gcc built-in
__builtin___clear_cache() which is only available in GCC 4.3 and later.
src/mips/ffitarget.h:136 where the GCC's __attribute__ extension is used.
There was an older version of __builtin___clear_cache() that worked, wasn't
there? Presumably whatever __builtin___clear_cache() expands to, but perhaps
that's subtarget dependent?
Andrew.