]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: zImage: gather some string functions into string.c
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 14 Sep 2011 01:42:55 +0000 (21:42 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 14 Sep 2011 17:51:58 +0000 (13:51 -0400)
commitdf4879fa2603fbf0804a80f9f146ef9023dd621f
treef9b88191c3cb423daac502fd307b63c69ab47df0
parent5ffb04f6690d71fab241b3562ebf52b893ac4ff1
ARM: zImage: gather some string functions into string.c

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>
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/misc.c
arch/arm/boot/compressed/string.c [new file with mode: 0644]