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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to