MIPS: Cleanup and Fixup of compressed kernel support
authorWu Zhangjin <wuzhangjin@gmail.com>
Thu, 10 Dec 2009 14:55:13 +0000 (22:55 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:29 +0000 (18:19 +0100)
commitd4d9a553d7b96e18fcfbd0b8fb5f803b3a27e4e6
tree999e955a181d5b1a3c6bd62796b3b0bc899fc541
parentabbdc3d88aa2d5c937b21044c336bcd056c1732f
MIPS: Cleanup and Fixup of compressed kernel support

 o Remove the .initrd section.  The initrd section was already handled
   when vmlinux was linked.
 o Discard .MIPS.options, .options, .pdr, .reginfo, .comment and .note
   sections.  If .MIPS.options is not removed, kernels compiled with gcc
   3.4.6 will not boot.
 o Clean up the file format.
 o Remove several other unneeded sections.

Tested with GCC 3.4.6 and 4.4.1 with and without initrd.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/785/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/compressed/Makefile
arch/mips/boot/compressed/decompress.c
arch/mips/boot/compressed/ld.script