about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/getsockname.c
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2015-08-18 22:40:56 +0530
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2015-08-25 13:45:56 -0300
commitfe7faec3e56a8dd64f78023a2f4a74fc8d42e79f (patch)
tree242d3afd1b66ac57b75eaf8814f5e439971258c1 /sysdeps/unix/sysv/linux/getsockname.c
parent2194737e77256a847ed4fca7652e4dcb8d3f9c1e (diff)
downloadglibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.tar.gz
glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.tar.xz
glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.zip
powerpc: Handle worstcase behavior in strstr() for POWER7
Instead of checking needle length, constant 'n' number of comparisons
is checked to fall back to default implementation.  This patch is tested
on powerpc64 and powerpc64le.

2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>

	* sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
Diffstat (limited to 'sysdeps/unix/sysv/linux/getsockname.c')
0 files changed, 0 insertions, 0 deletions