On Thu, Dec 10, 2009 at 10:55:13PM +0800, Wu Zhangjin wrote: > From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> > > Changes: > > o Remove the .initrd section > the initrd section is put in vmlinux, not need to handle it here. > > o Move .MIPS.options, .options, .pdr, .reginfo, .comment, .note from > Makefile to the /DSICARD/ of ld.script > If not move the .MIPS.options, the kernel compiled with gcc > 3.4.6 will not boot. > > o Clean up the file format. > o Remove several other un-needed sections. > > Have tested this patch with gcc 3.4.6 and gcc 4.4.1, and also with, > without the initrd file system. All of them works well. > > Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> Applied - but: /home/ralf/src/linux/linux-mips/.git/rebase-apply/patch:173: space before tab in indent. .sdata : { *(.sdata) } /home/ralf/src/linux/linux-mips/.git/rebase-apply/patch:174: space before tab in indent. . = ALIGN(4); Ralf