Re: [PATCH 19/22] aarch64: Introduce indirect_return attribute

2024-11-08 Thread Yury Khrustalev
Hi Richard, On Thu, Oct 24, 2024 at 06:18:23PM +0100, Richard Sandiford wrote: > Yury Khrustalev writes: > > From: Szabolcs Nagy > > > > Tail calls of indirect_return functions from non-indirect_return > > functions are disallowed even if BTI is disabled, since the call > > site may have BTI ena

Re: [PATCH 19/22] aarch64: Introduce indirect_return attribute

2024-10-24 Thread Richard Sandiford
Yury Khrustalev writes: > From: Szabolcs Nagy > > Tail calls of indirect_return functions from non-indirect_return > functions are disallowed even if BTI is disabled, since the call > site may have BTI enabled. > > Following x86, mismatching attribute on function pointers is not > a type error ev

[PATCH 19/22] aarch64: Introduce indirect_return attribute

2024-10-23 Thread Yury Khrustalev
From: Szabolcs Nagy Tail calls of indirect_return functions from non-indirect_return functions are disallowed even if BTI is disabled, since the call site may have BTI enabled. Following x86, mismatching attribute on function pointers is not a type error even though this can lead to bugs. Neede