freebsd-src/sys/arm64
Andrew Turner 82597d2102 arm64: Support creating a BTI & PAC note
To detect when an object file is build with the Branch Target
Identification (BTI) and Pointer Authentication Code (PAC) extensions
there is an elf note the compiler will insert. It will only do so from
a high level language, e.g. C or C++.

To get the not in assembly add the GNU_PROPERTY_AARCH64_FEATURE_1_NOTE
macro that can be used to create it, and the
GNU_PROPERTY_AARCH64_FEATURE_1_VAL macro to insert the correct value
based on which combination of BTI and PAC are enabled.

Reviewed by:	markj (earlier version), emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D42225
2023-10-20 16:59:25 +01:00
..
acpica sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
arm64 uiomove: Add some assertions 2023-10-17 09:12:19 -04:00
broadcom IfAPI: Retire if_etherbpfmtap() and if_bpfmtap() 2023-08-25 12:50:14 -04:00
cavium sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
conf Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
coresight sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
freescale/imx sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include arm64: Support creating a BTI & PAC note 2023-10-20 16:59:25 +01:00
intel sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iommu sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
linux linux(4): Drop the outdated comment, nosys is fine since 39024a89 2023-10-10 12:20:51 +03:00
nvidia/tegra210 sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
qoriq sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
qualcomm sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rockchip dwc: Move every sub drivers to dev/dwc 2023-10-05 17:34:38 +02:00