projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change assembly from AT&T to Intel syntax.
[pintos-anon]
/
src
/
lib
/
user
/
syscall-stub.S
diff --git
a/src/lib/user/syscall-stub.S
b/src/lib/user/syscall-stub.S
index e71afd5b1b9544b619f33692d3d57828300443c6..73afc8df4fcf2866850543dbeb6400ee97881d36 100644
(file)
--- a/
src/lib/user/syscall-stub.S
+++ b/
src/lib/user/syscall-stub.S
@@
-1,5
+1,6
@@
-.globl syscall
+ .intel_syntax noprefix
+ .globl syscall
syscall:
- pop
l %
ecx
- int
$
0x30
- jmp
l *%
ecx
+ pop
ecx
+ int 0x30
+ jmp
ecx