Re: Stripped binary insertion with the GNU Linker suggestions (fwd)

Jon Masters (jonathan@jonmasters.org)
Sat, 12 Jul 2003 02:14:53 +0100 (BST)


On Fri, 11 Jul 2003, Hollis Blanchard wrote:

> Not sure I understand the problem exactly, but I believe ppc32 kernels
> do exactly what you want. Have a look at arch/ppc/boot/ld.script and
> see __{image,ramdisk,sysmap}_begin . Also see how e.g.
> arch/ppc/boot/prep/Makefile uses objcopy
> --add-section=.image=vmlinux.gz .

I had another look at this tonight on the train and agree that this was
after all exactly what I want and I will need to use this "dummy" method
to force the kernel in to a single section before shoving it in to the
final ELF output image.

Jon.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/