From 42af854a26f2e5f27120b566fcaa492e29a51874 Mon Sep 17 00:00:00 2001 From: Godmar Back Date: Fri, 10 Nov 2006 02:18:07 +0000 Subject: [PATCH] added accidentally omitted $ to make operand immediate --- src/tests/userprog/sc-bad-sp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"); } -- 2.30.2