ARM: zImage: gather some string functions into string.c
authorNicolas Pitre <nicolas.pitre@linaro.org>
Thu, 6 Oct 2011 23:46:25 +0000 (16:46 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 6 Oct 2011 23:46:25 +0000 (16:46 -0700)
This is a small subset of string functions needed by commits to come.
Except for memcpy() which is unchanged from its original location, their
implementation is meant to be small, and -Os is enforced to prevent gcc
from doing pointless loop unrolling.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Dave Martin <dave.martin@linaro.org>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Tested-by: David Brown <davidb@codeaurora.org>

No differences found