projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert Intel-style assembly back to AT&T-style.
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-bad-arg.c
diff --git
a/src/tests/userprog/sc-bad-arg.c
b/src/tests/userprog/sc-bad-arg.c
index 2df966f3e623b8d03968652333d66001dace358a..b990468db3eb031fcbdd0674dc0202d18c3fdb61 100644
(file)
--- a/
src/tests/userprog/sc-bad-arg.c
+++ b/
src/tests/userprog/sc-bad-arg.c
@@
-5,7
+5,7
@@
void
test_main (void)
{
- asm volatile ("mov
%%esp, 0xbffffffc; mov [dword ptr %%esp], %0; int
0x30"
+ asm volatile ("mov
l $0xbffffffc, %%esp; movl %0, (%%esp); int $
0x30"
:: "i" (SYS_exit));
fail ("should have called exit(-1)");
}