RE: [PATCH 1/2] aarch64: add PAC GNU property note to libgcc lse.S

2020-07-24 Thread Kyrylo Tkachov
Hi Szabolcs, > -Original Message- > From: Szabolcs Nagy > Sent: 23 July 2020 17:24 > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov > Subject: [PATCH 1/2] aarch64: add PAC GNU property note to libgcc lse.S > > This note is not used anywhere currently bu

[PATCH 1/2] aarch64: add PAC GNU property note to libgcc lse.S

2020-07-23 Thread Szabolcs Nagy
This note is not used anywhere currently but it is supposed to mark objects if the return address is protected with PAC on the stack. Since lse.S only has leaf functions the return address is never saved on the stack so we can add the note. The note is only added if pac-ret is enabled because it c