glibc/string/bits
Wilco Dijkstra 40b7fbf273 GLIBC uses strchr (s, '\0') as an idiom to find the end of a string.
This is transformed into rawmemchr by the bits/string2.h header.
However this is generally slower than strlen on most targets, even when
an optimized rawmemchr implementation exists.  Since GCC7 optimizes
strchr (s, '\0') to strlen (s) + s, the GLIBC headers should not
transform this to rawmemchr.  As GCC recognizes strchr as a builtin,
defining strchr as the builtin is not useful.

	* string/bits/string2.h (strchr): Remove define.
2017-02-10 17:28:11 +00:00
..
string2.h GLIBC uses strchr (s, '\0') as an idiom to find the end of a string. 2017-02-10 17:28:11 +00:00
string3.h Move fortified explicit_bzero back to string3 2017-01-09 13:48:44 -02:00
strings_fortified.h Move fortified explicit_bzero back to string3 2017-01-09 13:48:44 -02:00