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
..
2011-12-06 08:39:18 -08:00
2013-02-25 13:14:31 -08:00
2013-02-15 12:08:59 -08:00
2009-03-03 19:28:35 -08:00
2012-11-19 11:46:33 -08:00
2013-03-15 16:12:58 -07:00
2011-07-07 22:46:16 +02:00
2012-12-10 11:20:57 -08:00
2013-02-25 13:14:31 -08:00
2013-05-02 13:58:03 -07:00
2012-10-16 17:58:17 -07:00
2012-10-16 17:58:17 -07:00
2013-03-15 16:12:58 -07:00
2010-10-15 02:16:16 +08:00