mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 05:13:58 -05:00
Add the Branch Target Identification (BTI) note to libc assembly sources and Pointer Authentication Code (PAC) instructions to _init and _fini. _init and _fini may be called indirectly so need a BTI landing pad. As they are non-leaf functions use the appropriate PAC instruction that also guards against changing the link register. As all object files need the note for any binary using these object files we need to insert it in all asm files. Reviewed by: markj Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42227 (cherry picked from commit 522126fea72419fae344fbcb897b41588909308a) |
||
|---|---|---|
| .. | ||
| crtbegin.c | ||
| crtbrand.S | ||
| crtend.c | ||
| csu_common.h | ||
| feature_note.S | ||
| ignore_init_note.S | ||
| notes.h | ||