about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/rtld-strnlen.S
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-07-12 12:29:01 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-07-13 14:55:31 -0700
commit58e6cd4bcbe9f29949f1545953a17145bf732aa0 (patch)
treed7b1785858dee9ebb7cee91d6881127125b352cf /sysdeps/x86_64/multiarch/rtld-strnlen.S
parent60a583ec601351c7d9b026e6a62ee6bab0cbf80b (diff)
downloadglibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.tar.gz
glibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.tar.xz
glibc-58e6cd4bcbe9f29949f1545953a17145bf732aa0.zip
x86: Move strlen SSE2 implementation to multiarch/strlen-sse2.S
This commit doesn't affect libc.so.6, its just housekeeping to prepare
for adding explicit ISA level support.

Tested build on x86_64 and x86_32 with/without multiarch.
Diffstat (limited to 'sysdeps/x86_64/multiarch/rtld-strnlen.S')
-rw-r--r--sysdeps/x86_64/multiarch/rtld-strnlen.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/rtld-strnlen.S b/sysdeps/x86_64/multiarch/rtld-strnlen.S
new file mode 100644
index 0000000000..ef2d64abc2
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/rtld-strnlen.S
@@ -0,0 +1,18 @@
+/* Copyright (C) 2022 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
+   <https://www.gnu.org/licenses/>.  */
+
+#include "../strnlen.S"