about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/rtld-strchr.S
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-07-12 12:29:05 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-07-13 14:55:31 -0700
commitcd080d07410426c5ce211509eb0d8fd0901f673a (patch)
tree6571df5e89745b7eb2d8508d5a98bd8e0782ed37 /sysdeps/x86_64/multiarch/rtld-strchr.S
parent425647458b03652526f670da7a0c2605513cf450 (diff)
downloadglibc-cd080d07410426c5ce211509eb0d8fd0901f673a.tar.gz
glibc-cd080d07410426c5ce211509eb0d8fd0901f673a.tar.xz
glibc-cd080d07410426c5ce211509eb0d8fd0901f673a.zip
x86: Move strchr SSE2 implementation to multiarch/strchr-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-strchr.S')
-rw-r--r--sysdeps/x86_64/multiarch/rtld-strchr.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/rtld-strchr.S b/sysdeps/x86_64/multiarch/rtld-strchr.S
new file mode 100644
index 0000000000..2b7b879e37
--- /dev/null
+++ b/sysdeps/x86_64/multiarch/rtld-strchr.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 "../strchr.S"