arm64: Mark the armv8 crc32c as supporting BTI

This is built into a test so needs the BTI elf note for the rest of the
test to be built with BTI support enabled.

As the assembly uses the ENTRY macro it already supports BTI, so mark
it as such.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42595
This commit is contained in:
Andrew Turner 2023-11-14 15:01:58 +00:00
parent 1b9096cd1d
commit 25d0310ed8

View file

@ -26,6 +26,8 @@
*/
#include <machine/asm.h>
#include <sys/elf_common.h>
.arch_extension crc
/*
@ -76,3 +78,5 @@ last_byte:
end:
ret
END(armv8_crc32c)
GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)