Skip to contentSkip to conversation

Fix compilation on BigEndian

PATCH Applied Michael Buesch 2 participants 2 messages Jan 5, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compilation on BigEndian

This fixes BigEndian compilation for target-ppc.

op_helper.c +1 -1
Index: target-ppc/op_helper.c
===================================================================
@@ -2185,7 +2185,7 @@
     }
 #if defined(WORDS_BIGENDIAN)
 #define MRGHI 0
-#define MRGL0 1
+#define MRGLO 1
 #else
 #define MRGHI 1
 #define MRGLO 0
Signature · 1 line
Greetings, Michael.
#1 lore raw
Quoted 8 lines · Michael Buesch

This fixes BigEndian compilation for target-ppc.

Index: target-ppc/op_helper.c
===================================================================

op_helper.c line 2191

Quoted 8 lines
op_helper.c +1 -1
@@ -2185,7 +2185,7 @@
     }
 #if defined(WORDS_BIGENDIAN)
 #define MRGHI 0
-#define MRGL0 1
+#define MRGLO 1
 #else
 #define MRGHI 1
 #define MRGLO 0

Thanks, applied.

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net