On Wed, 2007-12-26 at 09:00 +0100, Robert Millan wrote: > On Thu, Dec 20, 2007 at 06:36:07PM +0100, Robert Millan wrote: > > > > I'd prefer to support embedding filesystems in core.img instead. This > > solves the problem for every situation instead of just PC boot media > > (e.g. LinuxBIOS ELF payload image). > > Btw, any ELF wizard around? I wonder if ELF has any provisions for embedding > raw data to it.
You can add arbitrary sections, just make sure to avoid reserved names: http://www.linux-foundation.org/spec/book/ELF-generic/ELF-generic/specialsections.html objcopy supports --add-section, which can add sections from files. Good starting point for information about ELF: http://en.wikipedia.org/wiki/Executable_and_Linking_Format -- Regards, Pavel Roskin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel