diff options
author | Denis Nikitin <denik@chromium.org> | 2022-10-14 20:45:32 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-10-15 13:09:50 +0200 |
commit | bde971a83bbff78561458ded236605a365411b87 (patch) | |
tree | 9d6aa774f964ac8fa41f7b9229be63933e996140 /arch/arc | |
parent | KVM: selftests: Fix number of pages for memory slot in memslot_modification_s... (diff) | |
download | linux-bde971a83bbff78561458ded236605a365411b87.tar.xz linux-bde971a83bbff78561458ded236605a365411b87.zip |
KVM: arm64: nvhe: Fix build with profile optimization
Kernel build with clang and KCFLAGS=-fprofile-sample-use=<profile> fails with:
error: arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o: Unexpected SHT_REL
section ".rel.llvm.call-graph-profile"
Starting from 13.0.0 llvm can generate SHT_REL section, see
https://reviews.llvm.org/rGca3bdb57fa1ac98b711a735de048c12b5fdd8086.
gen-hyprel does not support SHT_REL relocation section.
Filter out profile use flags to fix the build with profile optimization.
Signed-off-by: Denis Nikitin <denik@chromium.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221014184532.3153551-1-denik@chromium.org
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions