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]
Other format: [Raw text]

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.



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