From: bellard Date: Sun, 15 Aug 2004 14:47:30 +0000 (+0000) Subject: fixed bound memory reference X-Git-Tag: 0.10.0-0maemo1~5291 X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=e82d8ade13e313a457ea2859470e1da56cc8bca9;p=qemu fixed bound memory reference git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/tests/test-i386.c b/tests/test-i386.c index 73a701f..29f0dfa 100644 --- a/tests/test-i386.c +++ b/tests/test-i386.c @@ -1364,7 +1364,7 @@ void test_exceptions(void) /* bound exception */ tab[0] = 1; tab[1] = 10; - asm volatile ("bound %0, %1" : : "r" (11), "m" (tab)); + asm volatile ("bound %0, %1" : : "r" (11), "m" (tab[0])); } printf("segment exceptions:\n");