446cf2
commit bbfc0f0f8e30680437d1c5b90563018bcd403881
446cf2
Author: H.J. Lu <hjl.tools@gmail.com>
446cf2
Date:   Sat Feb 1 05:44:56 2020 -0800
446cf2
446cf2
    i386: Remove _exit.S
446cf2
    
446cf2
    The generic implementation is suffice since __NR_exit_group is always
446cf2
    support and i386 does define ABORT_INSTRUCTION.
446cf2
    
446cf2
    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
446cf2
---
446cf2
446cf2
diff --git a/sysdeps/unix/sysv/linux/i386/_exit.S b/sysdeps/unix/sysv/linux/i386/_exit.S
446cf2
deleted file mode 100644
446cf2
index a10eede..0000000
446cf2
--- a/sysdeps/unix/sysv/linux/i386/_exit.S
446cf2
+++ /dev/null
446cf2
@@ -1,44 +0,0 @@
446cf2
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
446cf2
-   This file is part of the GNU C Library.
446cf2
-
446cf2
-   The GNU C Library is free software; you can redistribute it and/or
446cf2
-   modify it under the terms of the GNU Lesser General Public
446cf2
-   License as published by the Free Software Foundation; either
446cf2
-   version 2.1 of the License, or (at your option) any later version.
446cf2
-
446cf2
-   The GNU C Library is distributed in the hope that it will be useful,
446cf2
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
446cf2
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
446cf2
-   Lesser General Public License for more details.
446cf2
-
446cf2
-   You should have received a copy of the GNU Lesser General Public
446cf2
-   License along with the GNU C Library; if not, see
446cf2
-   <http://www.gnu.org/licenses/>.  */
446cf2
-
446cf2
-#include <sysdep.h>
446cf2
-
446cf2
-	.text
446cf2
-	.type	_exit,@function
446cf2
-	.global	_exit
446cf2
-_exit:
446cf2
-	movl	4(%esp), %ebx
446cf2
-
446cf2
-	/* Try the new syscall first.  */
446cf2
-#ifdef __NR_exit_group
446cf2
-	movl	$__NR_exit_group, %eax
446cf2
-	ENTER_KERNEL
446cf2
-#endif
446cf2
-
446cf2
-	/* Not available.  Now the old one.  */
446cf2
-	movl	$__NR_exit, %eax
446cf2
-	/* Don't bother using ENTER_KERNEL here.  If the exit_group
446cf2
-	   syscall is not available AT_SYSINFO isn't either.  */
446cf2
-	int	$0x80
446cf2
-
446cf2
-	/* This must not fail.  Be sure we don't return.  */
446cf2
-	hlt
446cf2
-	.size	_exit,.-_exit
446cf2
-
446cf2
-libc_hidden_def (_exit)
446cf2
-rtld_hidden_def (_exit)
446cf2
-weak_alias (_exit, _Exit)
446cf2