On February 22, 2024 7:56:45 PM GMT+01:00, Theo Buehler <t...@theobuehler.org>
wrote:
>On Thu, Feb 22, 2024 at 02:57:39PM +0100, Mark Kettenis wrote:
>> > From: Renato Aguiar <ren...@renatoaguiar.net>
>> > Date: Wed, 21 Feb 2024 17:31:41 -0800
>>
>> Apologies to Antoine, I forgot to CC you the first time I sent this
>> out. Anyway, here is a new version. Thinking about this a bit more
>> changing CFI_STARTPROC like we did on arm64 will make maintenance a
>> lot easier. This will over-BTI, but I'm also looking at having the
>> linker remove unnecessary ENDBR64 instructions at the start of a
>> function.
>>
>> ok?
>
>I think this is preferable, especially if you are planning to amortize
>the cost in lld.
>
>ok tb
>
oh I missed that there was a second version. ok with me too, we arrived at the
same conclusion for arm64 after all.