[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] load_elf: replace the address addend by a trans
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] load_elf: replace the address addend by a translation function |
Date: |
Mon, 15 Mar 2010 00:13:47 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Mar 14, 2010 at 10:55:48PM +0000, Paul Brook wrote:
> > Thanks for the review.
> >
> > On Sun, Mar 14, 2010 at 09:59:44PM +0000, Paul Brook wrote:
> > > > The patch also convert all machines that have an addend, simplify the
> > > > PowerPC kernel loading
> > >
> > > The new PPC code looks like it may break images > 16M in size.
> >
> > The idea was to get rid of the most significant byte, as it changes
> > depending on the kernel version, while we want the kernel to be loaded
> > at a fixed address. Looks like I have to shift the mask by four bits.
>
> I thought that problem was that some kernels are (incorrectly) linked with
> LMA==VMA, whereas they should have a base load address of zero.
>
Yes, this is the problem. But the way to workaround it is to get rid of
the MSB.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net