On i386, the primary function that SYSCALL() generates is with the

__sys_ prefix.  Make END() match.  This didn't cause a compile error, but
the function size is attached to the .weak symbol, not the real one.
This commit is contained in:
Peter Wemm 2008-11-15 22:23:07 +00:00
parent 944e20faf5
commit 9b16c7add1
3 changed files with 3 additions and 3 deletions

View File

@ -44,4 +44,4 @@ SYSCALL(pipe)
movl %edx,4(%ecx)
movl $0,%eax
ret
END(pipe)
END(__sys_pipe)

View File

@ -40,4 +40,4 @@ __FBSDID("$FreeBSD$");
SYSCALL(reboot)
iret
END(reboot)
END(__sys_reboot)

View File

@ -52,4 +52,4 @@ SYSCALL(setlogin)
movl $0,CNAME(_logname_valid)
#endif
ret /* setlogin(name) */
END(setlogin)
END(__sys_setlogin)