From: Godmar Back Date: Fri, 10 Nov 2006 02:18:07 +0000 (+0000) Subject: added accidentally omitted $ to make operand immediate X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42af854a26f2e5f27120b566fcaa492e29a51874;p=pintos-anon added accidentally omitted $ to make operand immediate --- diff --git a/src/tests/userprog/sc-bad-sp.c b/src/tests/userprog/sc-bad-sp.c index 6da4a6e..39cce84 100644 --- a/src/tests/userprog/sc-bad-sp.c +++ b/src/tests/userprog/sc-bad-sp.c @@ -15,6 +15,6 @@ void test_main (void) { - asm volatile ("movl . - (64*1024*1024), %esp; int $0x30"); + asm volatile ("movl $.-(64*1024*1024), %esp; int $0x30"); fail ("should have called exit(-1)"); }