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=d6d7ad6b1cf3a6f08b89ef90a0ad9d68bb86888c;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)"); }