mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01: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>
This commit is contained in:
parent
ef7f4b1fef
commit
0d9166c224
2 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue