Some asm files in target libraries were not branch protected and gcc missed preprocessor macros when it is generating branch protection code (which is needed to fix the asm files).
Szabolcs Nagy (6): aarch64: Add missing ACLE support for BTI aarch64: Add missing ACLE support for PAC-RET aarch64: Fix noexecstack note in libitm aarch64: Fix noexecstack note in libgcc aarch64: Fix BTI support in libgcc aarch64: Fix BTI support in libitm gcc/config/aarch64/aarch64-c.c | 16 ++++++++++++++++ libgcc/config/aarch64/lse.S | 30 ++++++++++++++++++++++++++++++ libitm/config/aarch64/sjlj.S | 29 ++++++++++++++++++++++++++++- 3 files changed, 74 insertions(+), 1 deletion(-) -- 2.17.1