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>
This commit is contained in:
Florian Weimer 2024-02-16 07:40:37 +01:00
parent ef7f4b1fef
commit 0d9166c224
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