Re: zImage now holds vmlinux, System.map and config in sections.

Peter Bergner (bergner@vnet.ibm.com)
Wed, 26 Feb 2003 14:45:59 -0600


Todd Inglett wrote:
> These sections don't have to be thrown away after boot either. While
> the sections should be marked as no-load, it may be useful to actually
> load them and have the kernel explicitly toss them if it finds no use
> for them. Real uses would including exporting to /proc/config.gz (if
> you like that kind of thing), or providing the System.map to kdb if kdb
> is enabled.

To be precise, these sections _are_ part of a PT_LOAD segment in the
zImage bootloader. The kernel/vmlinux is then passed info via birecs
on where those sections are in memory. As you say, we can then decide
in the kernel whether we want to keep or toss them.

Peter

-
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/