> This is issue is by no means MIPS N32-specific. Most 32-bit > architectures will suffer from the same issue. A very similar issue > popped up in the xserver/test/xinput.c, where we eventually settled > for assuming double-alignment on all platforms except __i386__ and > __sh__.
I don't have any experience with other architectures requiring 64-bit alignment of doubles (the ones I know about have 64-bit longs or pointers so they wouldn't have this problem) and I wanted to avoid adding the padding when it's not needed. > It probably is best to use "sizeof(double)" instead of "8" since that > is a bit more xpressive. I'll change the patch to fix both of these problems and align also in case of XIScrollClassInfo.
pgp6qj43AfVmw.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
