On 7/15/24 12:05 PM, Niels Möller wrote:
Bill Roberts bill.roberts@arm.com writes:
Besides just ensuring the gnu notes displays the right bits, how was this test this?
For testing, maybe one could do something similar to https://git.lysator.liu.se/nettle/nettle/-/blob/master/testsuite/x86-ibt-tes...
I've been doing a bunch of these, and my testing has been just running the existing test suite, built with BTI support on a BTI enabled system. I did look more closely at the labels and all the branches are direct so they don't need bti landing pads. I can test your patch and report back, so really outside of testing I think my only suggestion is to swap the bti c with the hint instruction. Apologies for the disclaimer previously, I forgot our server appends that.
Regards, /Niels