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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AAAAhhhhhh...
> 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.
Ralf
|