mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
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:
parent
5d070d12b3
commit
31c7d69af5
@ -5,3 +5,4 @@ extern void *__memrchr_ia32 (const void *, int, size_t);
|
||||
#endif
|
||||
|
||||
#include "string/memrchr.c"
|
||||
strong_alias (__memrchr_ia32, __GI___memrchr)
|
||||
|
@ -720,5 +720,4 @@ L(ret_null):
|
||||
ret
|
||||
|
||||
END (__memrchr_sse2)
|
||||
strong_alias (__memrchr_sse2, __GI___memrchr)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user