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

calls and jumps.
This commit is contained in:
obrien 2000-05-10 01:21:15 +00:00
parent ece3c597fa
commit 5840ec82fc
3 changed files with 4 additions and 4 deletions

View File

@ -242,7 +242,7 @@ doreti_unpend:
9:
#endif
#endif
jmp %edx
jmp *%edx
ALIGN_TEXT
doreti_swi:
@ -265,7 +265,7 @@ doreti_swi:
orl imasks(,%ecx,4),%eax
movl %eax,_cpl
#endif
call %edx
call *%edx
popl %eax /* cpl to restore */
jmp doreti_next

View File

@ -6,7 +6,7 @@
#include <i386/linux/linux_syscall.h> /* system call numbers */
NON_GPROF_ENTRY(linux_sigcode)
call LINUX_SIGF_HANDLER(%esp)
call *LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
movl LINUX_SC_GS(%ebx),%gs
push %eax /* fake ret addr */

View File

@ -6,7 +6,7 @@
/* $FreeBSD$ */
NON_GPROF_ENTRY(svr4_sigcode)
call SVR4_SIGF_HANDLER(%esp)
call *SVR4_SIGF_HANDLER(%esp)
leal SVR4_SIGF_UC(%esp),%eax # ucp (the call may have clobbered the
# copy at SIGF_UCP(%esp))
#ifdef VM86