[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: embedding data in ELF (Re: moving ata initialisation to a command)
From: |
Pavel Roskin |
Subject: |
Re: embedding data in ELF (Re: moving ata initialisation to a command) |
Date: |
Wed, 02 Jan 2008 13:21:27 -0500 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: embedding data in ELF (Re: moving ata initialisation to a command),
Pavel Roskin <=