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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel