kernel-fxtec-pro1x/arch/arm/boot/compressed
Russell King 5de813b6cd ARM: Eliminate decompressor -Dstatic= PIC hack
We used to build decompressors with -Dstatic= to avoid any local data
being generated.  The problem is that local data generates GOTOFF
relocations, which means we can't relocate the data relative to the
text segment.

Global data, on the other hand, goes through the GOT, and can be
relocated anywhere.

Unfortunately, with the new decompressors, this presents a problem
since they declare static data within functions, and this leads to
stack overflow.

Fix this by separating out the decompressor code into a separate file,
and removing 'static' from BSS data in misc.c.

Also, discard the .data section - this means that should we end up
with read/write initialized data, the decompressor will fail to link
and the problem will be obvious.

Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-02-25 19:34:31 +00:00
..
.gitignore [ARM] 5194/1: update .gitignore 2008-08-12 19:54:09 +01:00
big-endian.S
decompress.c ARM: Eliminate decompressor -Dstatic= PIC hack 2010-02-25 19:34:31 +00:00
head-l7200.S
head-sa1100.S Nicolas Pitre has a new email address 2009-09-15 09:37:12 -07:00
head-shark.S
head-sharpsl.S
head-xscale.S [ARM] Eliminate useless includes of asm/mach-types.h 2008-08-07 09:40:04 +01:00
head.S ARM: add base support for Marvell Dove SoC 2009-11-27 15:43:06 -05:00
ll_char_wr.S
Makefile ARM: Eliminate decompressor -Dstatic= PIC hack 2010-02-25 19:34:31 +00:00
Makefile.debug
misc.c ARM: Eliminate decompressor -Dstatic= PIC hack 2010-02-25 19:34:31 +00:00
ofw-shark.c
piggy.gzip.S arm: add support for LZO-compressed kernels 2010-01-11 09:34:05 -08:00
piggy.lzo.S arm: add support for LZO-compressed kernels 2010-01-11 09:34:05 -08:00
vmlinux.lds.in ARM: Eliminate decompressor -Dstatic= PIC hack 2010-02-25 19:34:31 +00:00