HomeFreeBSD

mk: Add a BTI-report linker feature

Description

mk: Add a BTI-report linker feature

Add support for specifying how to report the missing Branch Target
Identification (BTI) linker feature on AArch64.

For:

Kernel: bti-report on when the linker supports it
Userspace: bti-report on when the linker supports it and

BTI_REPORT_ERROR is defined

Fixes: 43e8849bc294 ("conf: Enable BTI checking in the arm64 kernel")
Pull Request: https://github.com/freebsd/freebsd-src/pull/1393

Details

Provenance
jlduranAuthored on Aug 22 2024, 3:23 AM
andrewCommitted on Aug 30 2024, 4:03 PM
Parents
rG9fdb683d92b3: cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped.
Branches
Unknown
Tags
Unknown