The strlen that ld.so uses on ppc32 causes a lot of false errors in
memcheck, and they are hard to get rid of and hard to suppress.  So
add a bootstrap strlen function and redirect to it right from the
start.  This fn only replaces the strlen in ld.so; the "normal"
redirect mechanism still replaces the strlen that glibc supplies.

This commit finally (!) makes memcheck behave sanely on ppc32.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4445 a5019735-40e9-0310-863c-91ae7b9d1cf9
3 files changed