This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Patch to add support for gij for ppc linux


Hi,

For the record, attached are two patches.  The first patch (gcc_bug_workaround.patch) is a patch to work around a ABI bug in the current gcc CVS HEAD.  It should not be committed since it may break ppc eabi targets.  If you use sysv abi ppc linux targets, then use it for testing gij on ppc linux.

The second patch (ppc_closure.patch) actually adds closure support for ppc linux under sysv abi. Hope fully this will be committed to libffi in the near future. It should not break anything but will not work with the ppc eabi, only the sysv abi used by ppc linux (but can be modified to do so easily).  It also fixes a ppc specific bug in the current libffi in case you are using that library for kaffe or something else.  

With both patches in place, gij under ppc linux can now pass all of the libjava/testsuite/libjava.lang tests I threw at it.

Hope this helps.

Kevin

gcc_bug_workaround.patch

ppc_closure.patch



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