grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] generic ELF loading #3


From: Hollis Blanchard
Subject: Re: [PATCH] generic ELF loading #3
Date: Thu, 02 Nov 2006 14:54:51 -0600

On Thu, 2006-11-02 at 21:58 +0200, Yoshinori K. Okuji wrote:
> On Wednesday 01 November 2006 02:23, Hollis Blanchard wrote:
> > Here is pass #3 of the ELF loader. Changes from #2:
> > - the `load' callback no longer modifies the phdr directly
> 
> I still don't understand why you want to pass a hook. Why don't you simply 
> pass a load address?

How do I know what the load address should be before I've even looked at
the program header?

Just because the x86 loader uses fixed values doesn't mean other loaders
should. In particular, the PowerPC loader is happy to load the ELF file
wherever it likes, as long as that memory isn't in use.

-Hollis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]