mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
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 (cherry picked from commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554)
This commit is contained in:
parent
bce8a0ba15
commit
e7d2a96f4f
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue