[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] generic ELF loading
From: |
Tristan Gingold |
Subject: |
Re: [PATCH] generic ELF loading |
Date: |
Sat, 14 Oct 2006 19:23:25 +0200 |
User-agent: |
Mutt/1.5.6+20040907i |
On Sat, Oct 14, 2006 at 05:33:44PM +0200, Yoshinori K. Okuji wrote:
> On Saturday 14 October 2006 00:37, Hollis Blanchard wrote:
> > This patch adds generic ELF loading infrastructure for both 32-bit and
> > 64-bit ELF. It provides an "iterate" function for program headers, and a
> > "load" function for convenience.
>
> The idea is very good. But I don't like that loaded areas are always
> allocated
> from the heap. GRUB has a staging area for OS images on i386-pc, and I prefer
> to load an image directly instead of consuming the heap.
Two points for ia64:
* the area must be allocated from EFI.
* we need to support relocation: loading the ELF file with an offset
(this feature can be on/off/forced).
Tristan.