diff options
author | Mark Brown <broonie@kernel.org> | 2020-05-06 22:51:30 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-07 19:53:20 +0300 |
commit | 714a8d02ca4da1479bf0b778fc1951dc88515c3d (patch) | |
tree | 052a8bb57dca406062ef023a38d2c3d1fc69c743 /init/calibrate.c | |
parent | 92e2294d870bc9e77592c2454f565c3bd6bb79ad (diff) | |
download | linux-714a8d02ca4da1479bf0b778fc1951dc88515c3d.tar.xz |
arm64: asm: Override SYM_FUNC_START when building the kernel with BTI
When the kernel is built for BTI override SYM_FUNC_START and related macros
to add a BTI landing pad to the start of all global functions, ensuring that
they are BTI safe. The ; at the end of the BTI_x macros is for the
benefit of the macro-generated functions in xen-hypercall.S.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20200506195138.22086-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions