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:
Marcel Moolenaar 2003-08-01 22:17:12 +00:00
parent 0cfef457a6
commit 6e9a9b9f52
3 changed files with 5 additions and 6 deletions

View File

@ -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)

View File

@ -34,4 +34,4 @@ SYSCALL(fork)
;;
(p7) mov ret0=r0
br.ret.sptk.few rp
END(fork)
END(__sys_fork)

View File

@ -39,4 +39,4 @@ SYSCALL(setlogin)
ld8 r14=[r14] ;;
st4 [r14]=r0 /* clear it */
br.ret.sptk.few rp
END(setlogin)
END(__sys_setlogin)