aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-11-07 10:07:48 +0530
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-11-07 10:07:48 +0530
commit6b86036452b9ac47b4ee7789a50f2f37df7ecc4f (patch)
treec85f60464be43b77842c084f044a87c5242ff57c /sysdeps
parentd83da3a4cebcf77e34593b86112dfad332808dae (diff)
downloadglibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.zip
glibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.tar.gz
glibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.tar.bz2
powerpc: Use latest optimization for internal function calls
Update strcasestr-power8 to use power8 version of strnlen for calculating length. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S b/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S
index 61025ce..2fbf8a9 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S
@@ -26,7 +26,7 @@
/* strlen is used to calculate len of r4. */
#define STRLEN __strlen_power8
/* strnlen is used to check if len of r3 is more than r4. */
-#define STRNLEN __strnlen_power7
+#define STRNLEN __strnlen_power8
/* strchr is used to check if first char of r4 is present in r3. */
#define STRCHR __strchr_power8