i386: Use generic memrchr in libc (bug 31316)

Before this change, we incorrectly used the SSE2 variant in the
implementation, without checking that the system actually supports
SSE2.

Tested-by: Sam James <sam@gentoo.org>
(cherry picked from commit 0d9166c224)
This commit is contained in:
Florian Weimer 2024-02-16 07:40:37 +01:00 committed by Andreas K. Hüttel
parent 5d070d12b3
commit 31c7d69af5
No known key found for this signature in database
GPG Key ID: DC2B16215ED5412A
2 changed files with 1 additions and 1 deletions

View File

@ -5,3 +5,4 @@ extern void *__memrchr_ia32 (const void *, int, size_t);
#endif
#include "string/memrchr.c"
strong_alias (__memrchr_ia32, __GI___memrchr)

View File

@ -720,5 +720,4 @@ L(ret_null):
ret
END (__memrchr_sse2)
strong_alias (__memrchr_sse2, __GI___memrchr)
#endif