added accidentally omitted $ to make operand immediate
authorGodmar Back <godmar@gmail.com>
Fri, 10 Nov 2006 02:18:07 +0000 (02:18 +0000)
committerGodmar Back <godmar@gmail.com>
Fri, 10 Nov 2006 02:18:07 +0000 (02:18 +0000)
src/tests/userprog/sc-bad-sp.c

index 6da4a6e53927b9d8edbd958e949f32ef792c0c39..39cce84ebb9d70ce2536f480a4d7142585ee20ea 100644 (file)
@@ -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)");
 }