aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Brazdil <[email protected]>2021-03-31 13:30:48 +0000
committerMarc Zyngier <[email protected]>2021-03-31 14:59:19 +0100
commit77e06b300161d41d65950be9c77a785c142b381d (patch)
tree4193f7ab79f69059dd272484b711c81601ef9855 /tools/perf/scripts/python
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff)
KVM: arm64: Support PREL/PLT relocs in EL2 code
gen-hyprel tool parses object files of the EL2 portion of KVM and generates runtime relocation data. While only filtering for R_AARCH64_ABS64 relocations in the input object files, it has an allow-list of relocation types that are used for relative addressing. Other, unexpected, relocation types are rejected and cause the build to fail. This allow-list did not include the position-relative relocation types R_AARCH64_PREL64/32/16 and the recently introduced _PLT32. While not seen used by toolchains in the wild, add them to the allow-list for completeness. Fixes: 8c49b5d43d4c ("KVM: arm64: Generate hyp relocation data") Cc: <[email protected]> Reported-by: Will Deacon <[email protected]> Signed-off-by: David Brazdil <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions