[Top][All Lists]
[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 15:23:54 -0600 |
On Thu, 2006-11-02 at 14:54 -0600, Hollis Blanchard wrote:
>
> 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.
Note that some modification is necessary. Please look at offset_phdr()
again to see what I'm talking about.
-Hollis