Go to file
Nick Kralevich cf870199d5 FORTIFY_SOURCE: strcat / strncat optimize
__strcat_chk and __strncat_chk are slightly inefficient,
because they end up traversing over the same memory region
two times.

This change optimizes __strcat_chk / __strncat_chk so they
only access the memory once. Although I haven't benchmarked these
changes, it should improve the performance of these functions.

__strlen_chk - expose this function, even if -D_FORTIFY_SOURCE
isn't defined. This is needed to compile libc itself without
-D_FORTIFY_SOURCE.

Change-Id: Id2c70dff55a276b47c59db27a03734d659f84b74
2013-05-31 09:07:46 -07:00
libc FORTIFY_SOURCE: strcat / strncat optimize 2013-05-31 09:07:46 -07:00
libdl Drop unnecessary execution permission for .cpp/.c/.h 2013-03-22 10:28:15 +08:00
libm Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
libstdc++ Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
libthread_db Fix the pthread_setname_np test. 2013-02-15 12:08:59 -08:00
linker Fix bionic linker to support segments with zero p_filesz 2013-05-21 16:57:55 -07:00
tests FORTIFY_SOURCE: strcat / strncat optimize 2013-05-31 09:07:46 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
ABI-bugs.txt Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:41 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:02 -08:00