This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH][AArch64] Remove redundant bzero.S
- From: "Wilco Dijkstra" <wdijkstr at arm dot com>
- To: "'GNU C Library'" <libc-alpha at sourceware dot org>
- Date: Thu, 20 Aug 2015 15:22:45 +0100
- Subject: [PATCH][AArch64] Remove redundant bzero.S
- Authentication-results: sourceware.org; auth=none
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
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)
--
1.9.1