diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2007-05-02 19:27:12 +0200 |
|---|---|---|
| committer | Andi Kleen <[email protected]> | 2007-05-02 19:27:12 +0200 |
| commit | d4f7a2c18e59e0304a1c733589ce14fc02fec1bd (patch) | |
| tree | 99c64275f7eb50925aad71a74ae083ececdbb795 /tools/perf/scripts/python | |
| parent | a6c4e076ee4c1ea670e4faa55814e63dd08e3f29 (diff) | |
[PATCH] i386: Relocate VDSO ELF headers to match mapped location with COMPAT_VDSO
Some versions of libc can't deal with a VDSO which doesn't have its
ELF headers matching its mapped address. COMPAT_VDSO maps the VDSO at
a specific system-wide fixed address. Previously this was all done at
build time, on the grounds that the fixed VDSO address is always at
the top of the address space. However, a hypervisor may reserve some
of that address space, pushing the fixmap address down.
This patch does the adjustment dynamically at runtime, depending on
the runtime location of the VDSO fixmap.
[ Patch has been through several hands: Jan Beulich wrote the orignal
version; Zach reworked it, and Jeremy converted it to relocate phdrs
as well as sections. ]
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Cc: Zachary Amsden <[email protected]>
Cc: "Jan Beulich" <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Roland McGrath <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions