about summary refs log tree commit diff
path: root/sysdeps/aarch64/stpcpy.S
diff options
context:
space:
mode:
authorRichard Earnshaw <Richard.Earnshaw@arm.com>2015-01-07 11:31:10 +0000
committerRichard Earnshaw <Richard.Earnshaw@arm.com>2015-01-07 11:31:10 +0000
commitdc400d7b735c47086a001ed051723e376230cf01 (patch)
treef4a14f3ef9ed50d2b9da4302c4a3b1042fcf9ee6 /sysdeps/aarch64/stpcpy.S
parentec582ca0f30c963a1c27f405b6732ca8507271d5 (diff)
downloadglibc-dc400d7b735c47086a001ed051723e376230cf01.tar.gz
glibc-dc400d7b735c47086a001ed051723e376230cf01.tar.xz
glibc-dc400d7b735c47086a001ed051723e376230cf01.zip
AArch64: Optimized implementations of strcpy and stpcpy.
Diffstat (limited to 'sysdeps/aarch64/stpcpy.S')
-rw-r--r--sysdeps/aarch64/stpcpy.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/aarch64/stpcpy.S b/sysdeps/aarch64/stpcpy.S
new file mode 100644
index 0000000000..6576a7560d
--- /dev/null
+++ b/sysdeps/aarch64/stpcpy.S
@@ -0,0 +1,20 @@
+/* stpcpy - copy a string returning pointer to end.
+   Copyright (C) 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/>.  */
+
+#define BUILD_STPCPY
+#include "strcpy.S"