]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit897d6ef40e40c23314b0c675b170f888a81194ad
tree999e955a181d5b1a3c6bd62796b3b0bc899fc541
parent647f79794d35378e4b4427e6c36c9a7029659bb3
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