diff options
author | Richard Henderson <rth@twiddle.net> | 2017-02-16 16:20:35 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-10-02 15:32:35 +0000 |
commit | bdd041c15306e91a9cc4d26975e73a7a7d84742b (patch) | |
tree | 87d3f813e0f20775793e01491657c9f996b7a859 /include/getopt.h | |
parent | 01c324107db27294a46141414fdc1094686f5508 (diff) | |
download | glibc-bdd041c15306e91a9cc4d26975e73a7a7d84742b.tar.gz |
string: Improve generic memrchr
New algorithm have the following key differences:
- Use string-fz{b,i} functions.
It also cleanups the multiple inclusion by leaving the ifunc
implementation to undef the weak_alias.
Checked on x86_64-linux-gnu, i686-linux-gnu, sparc64-linux-gnu,
and sparcv9-linux-gnu by removing the arch-specific assembly
implementation and disabling multi-arch (it covers both LE and BE
for 64 and 32 bits).
Richard Henderson <rth@twiddle.net>
Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #5806]
* string/memrchr.c: Use string-fzb.h, string-fzi.h.
* sysdeps/i386/i686/multiarch/memrchr-c.c: Redefined weak_alias.
* sysdeps/s390/multiarch/memrchr-c.c: Likewise.
Diffstat (limited to 'include/getopt.h')
0 files changed, 0 insertions, 0 deletions