The END() must expand to the .endp directive with the same name as
on the corresponding .proc directive, or the .endp must not have a name at all. While here, remove an artificial dependency in Ovfork.S by performing manual register renaming.
This commit is contained in:
parent
0cfef457a6
commit
6e9a9b9f52
@ -30,9 +30,8 @@ __FBSDID("$FreeBSD$");
|
||||
#include "SYS.h"
|
||||
|
||||
SYSCALL(vfork)
|
||||
cmp.ne p7,p0=ret1,r0 /* ret1!=0 for child */
|
||||
;;
|
||||
cmp.ne p6,p0=ret1,r0 /* ret1!=0 for child */
|
||||
;;
|
||||
(p6) mov ret0=r0
|
||||
(p7) mov ret0=r0
|
||||
br.ret.sptk.few rp
|
||||
END(vfork)
|
||||
END(__sys_vfork)
|
||||
|
@ -34,4 +34,4 @@ SYSCALL(fork)
|
||||
;;
|
||||
(p7) mov ret0=r0
|
||||
br.ret.sptk.few rp
|
||||
END(fork)
|
||||
END(__sys_fork)
|
||||
|
@ -39,4 +39,4 @@ SYSCALL(setlogin)
|
||||
ld8 r14=[r14] ;;
|
||||
st4 [r14]=r0 /* clear it */
|
||||
br.ret.sptk.few rp
|
||||
END(setlogin)
|
||||
END(__sys_setlogin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user