diff options
author | Gabriel Krisman Bertazi <[email protected]> | 2020-10-03 23:25:33 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-10-26 13:46:47 +0100 |
commit | 9a29a671902c2be05d636045a4dd365219ca716c (patch) | |
tree | 3c9d6f15e1bb6619211073a8cde72cb0d8aeb6b2 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2424b14605c71a7187c14edd525044eb36bdea47 (diff) |
elf: Expose ELF header on arch_setup_additional_pages()
Like it is done for SET_PERSONALITY with ARM, which requires the ELF
header to select correct personality parameters, x86 requires the
headers when selecting which VDSO to load, instead of relying on the
going-away TIF_IA32/X32 flags.
Add an indirection macro to arch_setup_additional_pages(), that x86 can
reimplement to receive the extra parameter just for ELF files. This
requires no changes to other architectures, who can continue to use the
original arch_setup_additional_pages for ELF and non-ELF binaries.
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions