This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Patch to add support for gij for ppc linux
- To: java at gcc dot gnu dot org
- Subject: Patch to add support for gij for ppc linux
- From: "Kevin B. Hendricks" <khendricks at ivey dot uwo dot ca>
- Date: Tue, 20 Feb 2001 09:20:10 -0500
- Reply-To: khendricks at ivey dot uwo dot ca
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