]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
i386: Fix include paths for strspn, strcspn, and strpbrk
authorNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 17 Jun 2022 18:18:32 +0000 (11:18 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 17 Jun 2022 23:25:27 +0000 (16:25 -0700)
commit c22eb807b0c8125101f6a274795425be2bbd0386
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date:   Thu Jun 16 15:07:12 2022 -0700

    x86: Rename generic functions with unique postfix for clarity

Changed the names of the strspn-c, strcspn-c, and strpbrk-c files
in a general refactor. It didn't change the include paths for the
i386 files breaking the i386 build. This commit fixes that.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/i386/i686/multiarch/strcspn-c.c
sysdeps/i386/i686/multiarch/strpbrk-c.c
sysdeps/i386/i686/multiarch/strspn-c.c

index ec230fb38308b7b0f3f9c72bcba7387864196526..47bfa663690721b9b76ddc0a00a6382cca3c97de 100644 (file)
@@ -1,4 +1,4 @@
 #if IS_IN (libc)
-# define __strcspn_sse2 __strcspn_ia32
-# include <sysdeps/x86_64/multiarch/strcspn-c.c>
+# define __strcspn_generic __strcspn_ia32
+# include <sysdeps/x86_64/multiarch/strcspn-sse4.c>
 #endif
index 5db62053b382899fa7c081798b58d39fe67ce076..9ef1708aa8d04b684250efc0b131dcb14eac31b2 100644 (file)
@@ -1,2 +1,2 @@
-#define __strpbrk_sse2 __strpbrk_ia32
-#include <sysdeps/x86_64/multiarch/strpbrk-c.c>
+#define __strpbrk_generic __strpbrk_ia32
+#include <sysdeps/x86_64/multiarch/strpbrk-sse4.c>
index bea09dea714fb8f4d8dcae5523bdabdf3c856efe..ce599c55a461468d569abf508f56e70fa47a2e48 100644 (file)
@@ -1,2 +1,2 @@
-#define __strspn_sse2 __strspn_ia32
-#include <sysdeps/x86_64/multiarch/strspn-c.c>
+#define __strspn_generic __strspn_ia32
+#include <sysdeps/x86_64/multiarch/strspn-sse4.c>