Author: brooks
Date: Fri Jun  1 22:09:27 2018
New Revision: 334500
URL: https://svnweb.freebsd.org/changeset/base/334500

Log:
  Remove support for SYS_sys_exit in favor of SYS_exit.
  
  SYS_exit has been defined in the repo since 1994 except for a brief
  window when SYS_sys_exit was defined in 2000.

Modified:
  head/lib/libc/amd64/gen/rfork_thread.S
  head/lib/libc/i386/gen/rfork_thread.S

Modified: head/lib/libc/amd64/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/amd64/gen/rfork_thread.S      Fri Jun  1 21:37:42 2018        
(r334499)
+++ head/lib/libc/amd64/gen/rfork_thread.S      Fri Jun  1 22:09:27 2018        
(r334500)
@@ -80,11 +80,7 @@ ENTRY(rfork_thread)
        /*
         * Exit system call
         */
-#ifdef SYS_exit
        movq    $SYS_exit, %rax
-#else
-       movq    $SYS_sys_exit, %rax
-#endif
        KERNCALL
 
        /*

Modified: head/lib/libc/i386/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/i386/gen/rfork_thread.S       Fri Jun  1 21:37:42 2018        
(r334499)
+++ head/lib/libc/i386/gen/rfork_thread.S       Fri Jun  1 22:09:27 2018        
(r334500)
@@ -98,11 +98,7 @@ ENTRY(rfork_thread)
         */
        pushl   %eax
        pushl   $0
-#ifdef SYS_exit
        movl    $SYS_exit, %eax
-#else
-       movl    $SYS_sys_exit, %eax
-#endif
        KERNCALL
 
        /*
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to