Module Name: xsrc
Committed By: christos
Date: Thu Oct 22 13:29:24 UTC 2015
Modified Files:
xsrc/external/mit/xorg-server/dist/include: servermd.h
Log Message:
PR/50356: Rin Okuyama: Arm is not always little endian.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
xsrc/external/mit/xorg-server/dist/include/servermd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xorg-server/dist/include/servermd.h
diff -u xsrc/external/mit/xorg-server/dist/include/servermd.h:1.6 xsrc/external/mit/xorg-server/dist/include/servermd.h:1.7
--- xsrc/external/mit/xorg-server/dist/include/servermd.h:1.6 Tue Aug 2 03:15:06 2011
+++ xsrc/external/mit/xorg-server/dist/include/servermd.h Thu Oct 22 09:29:24 2015
@@ -83,11 +83,15 @@ SOFTWARE.
#endif /* __avr32__ */
-/* XXX arm is not always LE */
#if defined(__arm32__) || defined(__arm__)
+#ifdef __ARMEB__
+#define IMAGE_BYTE_ORDER MSBFirst
+#define BITMAP_BIT_ORDER MSBFirst
+#else
#define IMAGE_BYTE_ORDER LSBFirst
#define BITMAP_BIT_ORDER LSBFirst
+#endif
#define GLYPHPADBYTES 4
#endif /* __arm32__ */