[ARM] mmp: fix for variables in uncompress.h being discarded
authorEric Miao <eric.y.miao@gmail.com>
Mon, 22 Mar 2010 01:39:58 +0000 (09:39 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Mon, 22 Mar 2010 04:03:05 +0000 (12:03 +0800)
commit7471f46d74e0e2a668f4bc085ef486b1079b3466
tree3131bf56095c801ab97fe227e19645dc7f77d5ec
parent2a8ac187e03027a958b289dd8701ca9c013ab096
[ARM] mmp: fix for variables in uncompress.h being discarded

Due to commit:

    5de813b  ARM: Eliminate decompressor -Dstatic= PIC hack

The data section will be discarded for the decompressor, thus move the
static variables into BSS section by initializing them at run time.

Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/include/mach/uncompress.h