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 27e6b2048d4c61b33b5433117dcd57e5fff73024..73afc8df4fcf2866850543dbeb6400ee97881d36 100644
(file)
--- a/
src/lib/user/syscall-stub.S
+++ b/
src/lib/user/syscall-stub.S
@@
-1,4
+1,6
@@
-.globl syscall
+ .intel_syntax noprefix
+ .globl syscall
syscall:
- int $0x30
- retl
+ pop ecx
+ int 0x30
+ jmp ecx