AT&T asm syntax requires a leading '*' in front of the operand for

indirect calls and jumps.
This commit is contained in:
David E. O'Brien 2000-05-22 17:02:53 +00:00
parent 182e7621c0
commit 020b9618e2

View File

@ -65,7 +65,7 @@ ENTRY(bios32)
movl 16(%ebp),%esi
movl 20(%ebp),%edi
pushl %ebp
lcall _bioscall_vector
lcall *_bioscall_vector
popl %ebp
movl %eax,0(%ebp)
movl %ebx,4(%ebp)
@ -130,7 +130,7 @@ ENTRY(bios16_call)
.globl CNAME(bios16_jmp)
CNAME(bios16_jmp):
data16
lcall _bioscall_vector /* 16-bit call */
lcall *_bioscall_vector /* 16-bit call */
jc 1f
pushl $0 /* success */