RE: [PATCH 1/4] aarch64: fix return address access with pac [PR94891][PR94791]

2020-07-08 Thread Kyrylo Tkachov
> -Original Message- > From: Gcc-patches On Behalf Of > Szabolcs Nagy > Sent: 26 June 2020 15:44 > To: gcc-patches@gcc.gnu.org > Cc: fwei...@redhat.com; Richard Earnshaw ; > Daniel Kiss > Subject: Re: [PATCH 1/4] aarch64: fix return address access with pac >

Re: [PATCH 1/4] aarch64: fix return address access with pac [PR94891][PR94791]

2020-06-26 Thread Szabolcs Nagy
The 06/05/2020 17:51, Szabolcs Nagy wrote: > This is a big hammer fix for __builtin_return_address (PR target/94891) > returning signed addresses (sometimes, depending on wether lr happens > to be signed or not at the time of call which depends on optimizations), > and similarly -pg may pass signed

[PATCH 1/4] aarch64: fix return address access with pac [PR94891][PR94791]

2020-06-05 Thread Szabolcs Nagy
This is a big hammer fix for __builtin_return_address (PR target/94891) returning signed addresses (sometimes, depending on wether lr happens to be signed or not at the time of call which depends on optimizations), and similarly -pg may pass signed return address to _mcount (PR target/94791). At t