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
..
2010-12-06 12:05:11 +01:00
2012-10-23 12:29:53 -07:00
2012-09-12 12:30:22 -07:00
2012-09-12 12:30:22 -07:00
2009-03-03 19:28:35 -08:00
2013-05-14 16:08:43 -07:00
2009-03-03 19:28:35 -08:00
2012-03-20 12:54:55 -07:00
2009-03-03 19:28:35 -08:00
2010-09-26 11:26:53 -07:00
2010-01-15 15:57:02 -08:00
2012-10-29 07:44:27 -07:00
2011-09-28 12:17:34 -07:00
2013-01-11 16:44:15 -08:00
2009-03-03 19:28:35 -08:00
2013-05-14 16:08:43 -07:00
2012-11-30 12:05:18 -08:00
2013-03-22 10:58:55 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2012-09-13 16:54:57 -07:00
2010-10-09 17:56:55 +02:00
2009-03-03 19:28:35 -08:00
2010-06-22 17:51:41 -07:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-10-15 18:52:55 +02:00
2012-08-17 12:44:23 -07:00
2009-03-03 19:28:35 -08:00
2013-02-04 13:44:14 -08:00
2013-02-22 11:11:48 -08:00
2010-01-15 15:57:02 -08:00
2012-09-12 12:30:22 -07:00
2009-03-03 19:28:35 -08:00
2010-09-27 17:27:14 +02:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2013-02-19 12:21:41 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2012-01-13 14:24:08 +01:00
2012-08-14 12:09:25 -07:00
2012-11-29 17:25:23 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2012-10-23 12:29:53 -07:00
2013-01-28 10:36:31 -08:00
2012-11-29 17:25:23 -08:00
2013-05-14 16:08:43 -07:00
2012-10-01 15:12:40 -07:00
2013-05-31 09:07:46 -07:00
2013-03-22 10:58:55 -07:00
2009-03-03 19:28:35 -08:00
2010-06-11 14:39:39 -07:00
2012-09-04 14:11:28 +02:00
2009-11-23 16:25:32 -05:00
2013-05-14 14:43:59 -07:00
2013-03-01 10:10:55 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2010-09-27 17:35:26 +02:00
2013-03-01 18:35:56 -08:00
2009-03-03 19:28:35 -08:00