]> git.ipfire.org Git - thirdparty/glibc.git/commit
powerpc: Fix return code of strcasecmp for unaligned inputs
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Tue, 5 Jul 2016 15:50:41 +0000 (21:20 +0530)
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Tue, 5 Jul 2016 15:50:41 +0000 (21:20 +0530)
commit30e4cc5413f72c2c728a544389da0c48500d9904
tree261f08774100bfd10af7e10ab04c49b238343f89
parent2918b0d0ecbf781400577d63aed7eaa4498dad91
powerpc: Fix return code of strcasecmp for unaligned inputs

If the input values are unaligned and if there are null characters in the
memory before the starting address of the input values, strcasecmp
gives incorrect return code. Fixed it by adding mask the bits that
are not part of the string.
ChangeLog
sysdeps/powerpc/powerpc64/power8/strcasecmp.S