Older binutils don't understand qword ptr
authorGé van Geldorp <ge@gse.nl>
Tue, 10 Jan 2006 18:01:11 +0000 (18:01 +0000)
committerGé van Geldorp <ge@gse.nl>
Tue, 10 Jan 2006 18:01:11 +0000 (18:01 +0000)
svn path=/trunk/; revision=20763

reactos/ntoskrnl/ex/i386/fastinterlck_asm.S

index e1625ea..d931302 100644 (file)
 \r
     /* Get next pointer and do the exchange */\r
     mov ebx, [eax]\r
 \r
     /* Get next pointer and do the exchange */\r
     mov ebx, [eax]\r
-    LOCK cmpxchg8b qword ptr [ebp]\r
+    LOCK cmpxchg8b [ebp]\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     lea ecx, [edx+0x10001]\r
 \r
     /* Do the exchange */\r
     lea ecx, [edx+0x10001]\r
 \r
     /* Do the exchange */\r
-    LOCK cmpxchg8b qword ptr [ebp]\r
+    LOCK cmpxchg8b [ebp]\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     mov cx, bx\r
 \r
     /* Do the exchange */\r
     mov cx, bx\r
 \r
     /* Do the exchange */\r
-    LOCK cmpxchg8b qword ptr [ebp]\r
+    LOCK cmpxchg8b [ebp]\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     jnz 1b\r
 \r
     /* Restore registers and return */\r
     mov edx, [edx+4]\r
 \r
     /* Do the op */\r
     mov edx, [edx+4]\r
 \r
     /* Do the op */\r
-    LOCK cmpxchg8b qword ptr [ebp]\r
+    LOCK cmpxchg8b [ebp]\r
 \r
     /* Restore volatiles */\r
     pop ebp\r
 \r
     /* Restore volatiles */\r
     pop ebp\r
     mov edx, [edx+4]\r
 \r
     /* Do the op */\r
     mov edx, [edx+4]\r
 \r
     /* Do the op */\r
-    LOCK cmpxchg8b qword ptr [ebp]\r
+    LOCK cmpxchg8b [ebp]\r
 \r
     /* Restore volatiles */\r
     pop ebp\r
 \r
     /* Restore volatiles */\r
     pop ebp\r