mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
AT&T asm syntax requires a leading '*' in front of the operand for indirect
calls and jumps.
This commit is contained in:
parent
1da6875a18
commit
589607c435
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60302
@ -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