RE: [PATCH 5/6] aarch64: Fix BTI support in libgcc

2020-07-08 Thread Kyrylo Tkachov
> -Original Message- > From: Szabolcs Nagy > Sent: 08 July 2020 17:28 > To: gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw ; Kyrylo Tkachov > > Subject: [PATCH 5/6] aarch64: Fix BTI support in libgcc > > lse.S did not have the GNU property note markup a

[PATCH 5/6] aarch64: Fix BTI support in libgcc

2020-07-08 Thread Szabolcs Nagy
lse.S did not have the GNU property note markup and the BTI c instructions that are necessary when it is built with branch protection. The notes are only added when libgcc is built with branch protection, because old linkers mishandle the note (merge them incorrectly or emit warnings), the BTI ins