[__motorola__]: Swap operands in cmp.l.
authorRoland McGrath <roland@gnu.org>
Thu, 17 Nov 1994 01:59:01 +0000 (01:59 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 17 Nov 1994 01:59:01 +0000 (01:59 +0000)
sysdeps/unix/bsd/m68k/sysdep.S

index 95136bb..cef8990 100644 (file)
@@ -26,7 +26,7 @@ syscall_error:
           EWOULDBLOCK_sys is the original number.  */
 #ifdef __motorola__
 #if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN
-       cmp.l d0, #EWOULDBLOCK_sys
+       cmp.l #EWOULDBLOCK_sys, d0
        bne store
        moveq.l #EAGAIN, d0
 #endif