diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-04-16 08:18:23 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-04-16 17:24:31 -0300 |
commit | 743b9c2a98426fb40f8ffee3529c8870bc5300f5 (patch) | |
tree | f050338793677c5b1b2cd681d40c80a1be44ab08 /mach/err_kern.sub | |
parent | 326e74e7c18ab12ac8e4b67cce295d32fcc1cf68 (diff) | |
download | glibc-743b9c2a98426fb40f8ffee3529c8870bc5300f5.tar glibc-743b9c2a98426fb40f8ffee3529c8870bc5300f5.tar.gz glibc-743b9c2a98426fb40f8ffee3529c8870bc5300f5.tar.bz2 glibc-743b9c2a98426fb40f8ffee3529c8870bc5300f5.zip |
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.
Diffstat (limited to 'mach/err_kern.sub')
0 files changed, 0 insertions, 0 deletions