arm: Remove ununsed ARM code in optimized implementation
commit743b9c2a98426fb40f8ffee3529c8870bc5300f5
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Apr 2018 11:18:23 +0000 (16 08:18 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 16 Apr 2018 20:24:31 +0000 (16 17:24 -0300)
treef050338793677c5b1b2cd681d40c80a1be44ab08
parent326e74e7c18ab12ac8e4b67cce295d32fcc1cf68
arm: Remove ununsed ARM code in optimized implementation

This patch removes the ununsed ARM code path for armv6t2 memchr and
strlen and armv7 memch and strcmp.  In all implementation, the ARM
code is not used in any possible build (unless glibc is explicit
build with the non-documented NO_THUMB compiler flag) and for armv7
the resulting code either produces wrong results (memchr) and throw
build error (strcmp).

Checked on arm-linux-gnueabihf built targeting both armv6 and
armv7.

* sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
* sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
* sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
* sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
ChangeLog
sysdeps/arm/armv6t2/memchr.S
sysdeps/arm/armv6t2/strlen.S
sysdeps/arm/armv7/multiarch/memchr_neon.S
sysdeps/arm/armv7/strcmp.S