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:
parent
944e20faf5
commit
9b16c7add1
@ -44,4 +44,4 @@ SYSCALL(pipe)
|
||||
movl %edx,4(%ecx)
|
||||
movl $0,%eax
|
||||
ret
|
||||
END(pipe)
|
||||
END(__sys_pipe)
|
||||
|
@ -40,4 +40,4 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
SYSCALL(reboot)
|
||||
iret
|
||||
END(reboot)
|
||||
END(__sys_reboot)
|
||||
|
@ -52,4 +52,4 @@ SYSCALL(setlogin)
|
||||
movl $0,CNAME(_logname_valid)
|
||||
#endif
|
||||
ret /* setlogin(name) */
|
||||
END(setlogin)
|
||||
END(__sys_setlogin)
|
||||
|
Loading…
Reference in New Issue
Block a user