]> Git Repo - qemu.git/commitdiff
fixed bound memory reference
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 15 Aug 2004 14:47:30 +0000 (14:47 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 15 Aug 2004 14:47:30 +0000 (14:47 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162

tests/test-i386.c

index 73a701fcfa5eb17c4c8ed9a9854aa3dfc9e3329e..29f0dfa1fad60b5e3c28e42de3b012fc7db6e2d2 100644 (file)
@@ -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");
This page took 0.026673 seconds and 4 git commands to generate.