diff options
author | Will Newton <will.newton@linaro.org> | 2014-06-26 16:00:44 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-07-04 09:23:21 +0100 |
commit | 1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31 (patch) | |
tree | 7dbf52a3e0f06b4681aaf9402d55057e6352ddce /ChangeLog | |
parent | 6b7b14b26f07ddcd1f292ad8de31fa1d9fc13f43 (diff) | |
download | glibc-1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31.tar.gz glibc-1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31.tar.xz glibc-1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31.zip |
string/memchr.c: Merge from gnulib
Merge most of the gnulib implementation of memchr. The changes that remain are: - copyright header - bp-sym.h removed - reg_char removed - allow MEMCHR to be redefined - non-conforming whitespace changes The merged code fixes a number of -Wundef warnings and also introduces an optimized algorithm. I haven't detected any performance difference in the new code which I believe is down to the quite specific circumstances required to hit it. However the new code is approximately half the size of the old code on AArch64 (which uses generic memchr). ChangeLog: 2014-07-04 Will Newton <will.newton@linaro.org> * string/memchr.c: Merge from gnulib. [_LIBC]: Remove conditionals. (__ptr_t): Remove define. (LONG_MAX_32_BITS): Likewise. (LONG_MAX): Likewise. (MEMCHR): Use ANSI prototype and optimize algorithm.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e255a3d638..a9574c9508 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2014-07-04 Will Newton <will.newton@linaro.org> + * string/memchr.c: Merge from gnulib. + [_LIBC]: Remove conditionals. + (__ptr_t): Remove define. + (LONG_MAX_32_BITS): Likewise. + (LONG_MAX): Likewise. + (MEMCHR): Use ANSI prototype and optimize algorithm. + * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. 2014-07-03 Roland McGrath <roland@hack.frob.com> |