diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strncmp.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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) diff --git a/sysdeps/powerpc/powerpc64/multiarch/strncmp.c b/sysdeps/powerpc/powerpc64/multiarch/strncmp.c index ab7379d734..d2791ced07 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strncmp.c +++ b/sysdeps/powerpc/powerpc64/multiarch/strncmp.c @@ -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 |