Re: [RFC, PATCH] Fixup COMPAT_VDSO to work with CONFIG_PARAVIRT
From: Jeremy Fitzhardinge <hidden>
Date: 2007-03-16 16:46:52
Also in:
lkml
From: Jeremy Fitzhardinge <hidden>
Date: 2007-03-16 16:46:52
Also in:
lkml
Jan Beulich wrote:
I have one, too (which is one reasone why I created the original Xen patch).
It's some version of SuSE 9, right? What glibc version?
quoted
quoted
I'm playing safe. Binary identical relocation to 0xffffe000 was my goal.Yeah, fair enough. But as Eric likes to keep pointing out, an executable ELF file need not have any sections at all, so the only safe course for anything "real" is via the section headers.Program headers you mean.
Er, yep.
quoted
So I guess the right thing to do is relocate the dynamic stuff via PT_DYNAMIC, and relocate the symtab if its present.Symtab should also be deduced from program headers.
Well, the normal symtab might be completely missing. But yes, the
dynamic symtab should be in the PT_DYNAMIC.
J