]> git.proxmox.com Git - qemu.git/blobdiff - tests/test-i386-code16.S
make runcom compile on recent distributions
[qemu.git] / tests / test-i386-code16.S
index e400e73fd984ced8057dda374370904a55e16773..816c24b96f476187f978b95e76c5b679478d8815 100644 (file)
@@ -7,7 +7,7 @@ CS_SEG = 0xf
 code16_start:
 
         .globl code16_func1
-        
+
         /* basic test */
 code16_func1 = . - code16_start
         mov $1, %eax
@@ -24,7 +24,7 @@ code16_func2 = . - code16_start
         pop %ax
         data32 lret
 
-/* test various jmp opcodes */        
+/* test various jmp opcodes */
         .globl code16_func3
 code16_func3 = . - code16_start
         jmp 1f
@@ -36,21 +36,21 @@ code16_func3 = . - code16_start
         jz 2f
         add $2, %ax
 2:
-        
+
         call myfunc
-        
+
         lcall $CS_SEG, $(myfunc2 - code16_start)
 
         ljmp $CS_SEG, $(myjmp1 - code16_start)
 myjmp1_next:
 
-        cs lcall myfunc2_addr - code16_start
+        cs lcall *myfunc2_addr - code16_start
 
-        cs ljmp myjmp2_addr - code16_start
+        cs ljmp *myjmp2_addr - code16_start
 myjmp2_next:
 
         data32 lret
-        
+
 myfunc2_addr:
         .short myfunc2 - code16_start
         .short CS_SEG