AT&T asm syntax requires a leading '*' in front of the operand for indirect
calls and jumps.
This commit is contained in:
parent
ece3c597fa
commit
5840ec82fc
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user