Module Name:    xsrc
Committed By:   snj
Date:           Sat Dec 31 07:40:24 UTC 2016

Modified Files:
        xsrc/external/mit/xorg-server/dist/include [netbsd-7]: servermd.h

Log Message:
Pull up following revision(s) (requested by rin in ticket #1344):
        xsrc/external/mit/xorg-server/dist/include/servermd.h: revision 1.7
PR/50356: Rin Okuyama: Arm is not always little endian.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.10.1 \
    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.6.10.1
--- xsrc/external/mit/xorg-server/dist/include/servermd.h:1.6	Tue Aug  2 07:15:06 2011
+++ xsrc/external/mit/xorg-server/dist/include/servermd.h	Sat Dec 31 07:40:24 2016
@@ -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__ */

Reply via email to