Skip to contentSkip to conversation

syscall

PATCH New Laurent Desnogues 1 participant 1 message Jun 10, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 syscall

TARGET_WORDS_BIGENDIAN is incorrectly spelled TARGET_WORDS_BIG_ENDIAN in target_offset64.

Laurent

linux-user/syscall.c +1 -1
diff -ru -x .svn svn-ref/linux-user/syscall.c svn/linux-user/syscall.c
@@ -3070,7 +3070,7 @@
 #if TARGET_ABI_BITS == 32
 static inline uint64_t target_offset64(uint32_t word0, uint32_t word1)
 {
-#ifdef TARGET_WORDS_BIG_ENDIAN
+#ifdef TARGET_WORDS_BIGENDIAN
     return ((uint64_t)word0 << 32) | word1;
 #else
     return ((uint64_t)word1 << 32) | word0;

Only in svn/linux-user: syscall.c~