Date: Sat, 15 Nov 2008 22:23:07 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184996 - head/lib/libc/i386/sys Message-ID: <200811152223.mAFMN7lX036341@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: peter Date: Sat Nov 15 22:23:07 2008 New Revision: 184996 URL: http://svn.freebsd.org/changeset/base/184996 Log: 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. Modified: head/lib/libc/i386/sys/pipe.S head/lib/libc/i386/sys/reboot.S head/lib/libc/i386/sys/setlogin.S Modified: head/lib/libc/i386/sys/pipe.S ============================================================================== --- head/lib/libc/i386/sys/pipe.S Sat Nov 15 11:34:30 2008 (r184995) +++ head/lib/libc/i386/sys/pipe.S Sat Nov 15 22:23:07 2008 (r184996) @@ -44,4 +44,4 @@ SYSCALL(pipe) movl %edx,4(%ecx) movl $0,%eax ret -END(pipe) +END(__sys_pipe) Modified: head/lib/libc/i386/sys/reboot.S ============================================================================== --- head/lib/libc/i386/sys/reboot.S Sat Nov 15 11:34:30 2008 (r184995) +++ head/lib/libc/i386/sys/reboot.S Sat Nov 15 22:23:07 2008 (r184996) @@ -40,4 +40,4 @@ __FBSDID("$FreeBSD$"); SYSCALL(reboot) iret -END(reboot) +END(__sys_reboot) Modified: head/lib/libc/i386/sys/setlogin.S ============================================================================== --- head/lib/libc/i386/sys/setlogin.S Sat Nov 15 11:34:30 2008 (r184995) +++ head/lib/libc/i386/sys/setlogin.S Sat Nov 15 22:23:07 2008 (r184996) @@ -52,4 +52,4 @@ SYSCALL(setlogin) movl $0,CNAME(_logname_valid) #endif ret /* setlogin(name) */ -END(setlogin) +END(__sys_setlogin)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811152223.mAFMN7lX036341>