[Top] [All Lists]

Re: Latest 2.1.14 sources ???

Subject: Re: Latest 2.1.14 sources ???
Date: Mon, 19 Jan 1998 06:32:31 +0100
In-reply-to: <>; from Stu Allen on Sun, Jan 18, 1998 at 10:59:59PM -0500
References: <199801182026.VAA01348@jordan.numerik> <>
On Sun, Jan 18, 1998 at 10:59:59PM -0500, Stu Allen wrote:

> Did you run objcopy and strip out the unneeded information from the kernel
> image?  i.e.:
> mipsel-linux-objcopy --remove-section=.reginfo --remove-section=.mdebug \
>       --remove-section=.fixup --remove-section=__ex_tab dec_vmlinux

> For me at least, this takes a kernel image which is about 1.5 meg and reduces
> it to a little under a meg.  The resulting image also boots, at least to some
> extent!

Throwing away used - though rarely - parts of the kernel is indeed a efficient
way to shrink the kernel ...

> I'm pretty sure that Paul was the one who told me that I needed to do this --
> I'll look for his original message, which I believe explains _why_ you need to
> do it.

He needs it or the ELF -> ECOFF linking will barf.  But it's as wrong as
something can be.


<Prev in Thread] Current Thread [Next in Thread>