This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Another endianess problem on Solaris
Martin Kahlert wrote:
>Is Solaris the only gcj-port, where these problems exist?
>Is Linux-Alpha big endian, for example?
>
Alphas are little-endian. But LinuxPPC is big-endian and the problems
occur there also. Hopefully we will be able to fix it in time for 3.1,
and if we don't I agree we should document the issue.
The proposed solution is to have libffi define a typedef (specific to
the platform/abi) representing the type that sub-word sized return
values are promoted to. Then we can change the libjava reflection code
to use this and things shouldn't get too ugly.
regards
Bryce.