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

Re: [Xen-devel] [PATCH RFC v1 18/74] x86/link: Relocate program headers

On Fri, Jan 05, 2018 at 04:20:36AM -0700, Jan Beulich wrote:
> >>> On 04.01.18 at 14:05, <wei.liu2@xxxxxxxxxx> wrote:
> > From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> > 
> > When the xen binary is loaded by libelf (in the future) we rely on the
> > elf loader to load the binary accordingly.
> It would really help if it was said here what effect this has on the
> program headers - I can only guess that it'll make p_vaddr different
> from p_paddr.

The first version of this patch was written quite some time ago. If my
memory doesn't fail me, it is like what you said -- the p_vaddr and
p_paddr need to be different. I will double-check and update the commit

> I'm also rather uncertain about the entry point
> change wrt various (and especially older) boot loaders.

What (older) boot loaders do you have in mind?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.