[PATCH] Support for sparc-*-linux* and sparc64-*-linux*

Anthony Green green@cygnus.com
Sun Apr 16 19:12:00 GMT 2000


Jakub wrote:
> Following patch adds support for 32bit and 64bit SPARC Linux targets.

Excellent - thanks!

I'm about to commit it to both the libgcj and libffi trees.

The libffi tree is a little out of date - as most of the innovation is
going directly into libgcj/libffi.  However, I think things have
settled down enough that I'll check this all back into the libffi
tree.

Closures have been added to libffi in support of the gcj java
interpreter.  So far they've only been ported to x86 and ia-64.  A
sparc port would be wonderful (hint hint).  See
http://sourceware.cygnus.com/java .

> I wonder also why FFI_TYPE_UNION type is missing. If it ever gets added,
> then FFI_V9 structure/union returning code will have to be changed slightly
> (any union part of structure/union is passed only in integer registers,

Interesting.  What about structure fields?  So far we've been handling
all aggregate types as if they were structs.

> Another thing which I've changed here (and am going to submit an automake
> patch as well) is that libtool --mode=link $(CCLD)

Tromey told me he got the patch.


Thanks Jakub

AG 

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California


More information about the Libffi-discuss mailing list