[AArch64] Remove redundant bzero.S

Message ID 000001d0db53$aefb2ed0$0cf18c70$@com
State Committed
Headers

Commit Message

Wilco Dijkstra Aug. 20, 2015, 2:22 p.m. UTC
  Remove the AArch64 version of bzero.S as the generic bzero.c is as efficient.
Passes GLIBC tests.

ChangeLog:
2015-08-20  Wilco Dijkstra  <wdijkstr@arm.com>

	* sysdeps/aarch64/bzero.S (__bzero): Remove.

---
 sysdeps/aarch64/bzero.S | 27 ---------------------------
 1 file changed, 27 deletions(-)
 delete mode 100644 sysdeps/aarch64/bzero.S
  

Comments

Marcus Shawcroft Aug. 21, 2015, 10:04 a.m. UTC | #1
On 20 August 2015 at 15:22, Wilco Dijkstra <wdijkstr@arm.com> wrote:
> Remove the AArch64 version of bzero.S as the generic bzero.c is as efficient.
> Passes GLIBC tests.
>
> ChangeLog:
> 2015-08-20  Wilco Dijkstra  <wdijkstr@arm.com>
>
>         * sysdeps/aarch64/bzero.S (__bzero): Remove.

OK /Marcus
  

Patch

diff --git a/sysdeps/aarch64/bzero.S b/sysdeps/aarch64/bzero.S
deleted file mode 100644
index 7343896..0000000
--- a/sysdeps/aarch64/bzero.S
+++ /dev/null
@@ -1,27 +0,0 @@ 
-/* Copyright (C) 2013-2015 Free Software Foundation, Inc.
-
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public License as
-   published by the Free Software Foundation; either version 2.1 of the
-   License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library.  If not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#include <sysdep.h>
-
-	.text
-ENTRY(__bzero)
-	mov	x2, x1
-	mov	x1, xzr
-	b	__memset
-END(__bzero)
-weak_alias (__bzero, bzero)