https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96001
Bug ID: 96001
Summary: aarch64: bti is missing from lse.S when built with
branch protection
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: nsz at gcc dot gnu.org
Target Milestone: ---
Target: aarch64
Target: aarch64
when gcc is configured with --enable-standard-branch-protection
then all runtime libraries should be bti compatible, but
libgcc has non-bti compatible code in it: lse.S
gcc-10 with branch protection only works with -mno-outline-atomics now.