Change assembly from AT&T to Intel syntax.
[pintos-anon] / src / lib / user / syscall-stub.S
index 27e6b2048d4c61b33b5433117dcd57e5fff73024..73afc8df4fcf2866850543dbeb6400ee97881d36 100644 (file)
@@ -1,4 +1,6 @@
-.globl syscall
+       .intel_syntax noprefix
+       .globl syscall
 syscall:
-       int $0x30
-       retl
+       pop ecx
+       int 0x30
+       jmp ecx