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]

Re: libffi mips code imported from GCC's svn


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]