From 9b16c7add13fb21f670c839d01abeb223b00eba8 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 15 Nov 2008 22:23:07 +0000 Subject: [PATCH] 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. --- lib/libc/i386/sys/pipe.S | 2 +- lib/libc/i386/sys/reboot.S | 2 +- lib/libc/i386/sys/setlogin.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/i386/sys/pipe.S b/lib/libc/i386/sys/pipe.S index 406fc56a9a8..0ce3a8cd383 100644 --- a/lib/libc/i386/sys/pipe.S +++ b/lib/libc/i386/sys/pipe.S @@ -44,4 +44,4 @@ SYSCALL(pipe) movl %edx,4(%ecx) movl $0,%eax ret -END(pipe) +END(__sys_pipe) diff --git a/lib/libc/i386/sys/reboot.S b/lib/libc/i386/sys/reboot.S index 5fe227caa83..d5caccf68ff 100644 --- a/lib/libc/i386/sys/reboot.S +++ b/lib/libc/i386/sys/reboot.S @@ -40,4 +40,4 @@ __FBSDID("$FreeBSD$"); SYSCALL(reboot) iret -END(reboot) +END(__sys_reboot) diff --git a/lib/libc/i386/sys/setlogin.S b/lib/libc/i386/sys/setlogin.S index 9662a83c1d6..2a814bd488a 100644 --- a/lib/libc/i386/sys/setlogin.S +++ b/lib/libc/i386/sys/setlogin.S @@ -52,4 +52,4 @@ SYSCALL(setlogin) movl $0,CNAME(_logname_valid) #endif ret /* setlogin(name) */ -END(setlogin) +END(__sys_setlogin)