mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
powerpc: Fix tiny bug in strncmp.c
A single underscore was omitted in sysdeps/powerpc/powerpc64/multiarch/strncmp.c, resulting in use of power8 version of strncmp instead of power9 version, with significant performance degradation. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
This commit is contained in:
parent
fbbc9a4e34
commit
008b598e2a
@ -1,3 +1,7 @@
|
||||
2019-01-16 Paul A. Clarke <pc@us.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
|
||||
|
||||
2019-01-16 Zack Weinberg <zackw@panix.com>
|
||||
|
||||
* support/xsignal.h (xalloc_sigstack, xfree_sigstack)
|
||||
|
@ -37,7 +37,7 @@ extern __typeof (strncmp) __strncmp_power9 attribute_hidden;
|
||||
/* Avoid DWARF definition DIE on ifunc symbol so that GDB can handle
|
||||
ifunc symbol properly. */
|
||||
libc_ifunc_redirected (__redirect_strncmp, strncmp,
|
||||
# ifdef __LITTLE_ENDIAN_
|
||||
# ifdef __LITTLE_ENDIAN__
|
||||
(hwcap2 & PPC_FEATURE2_ARCH_3_00)
|
||||
? __strncmp_power9 :
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user