-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable PACBTI in picolibc's startup code
Follow up to [#467](#467). This patch makes picolibc's startup code enable PAC and BTI in the relevant library variants. picolibc's startup code enables PAC and BTI if and only if __ARM_FEATURE_PAUTH and __ARM_FEATURE_BTI are defined respectively. These macros are defined if `+pacbti` is passed in the `-march` command-line option: it is not enough to use `-mbranch-protection` in the build of the library variant.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters