[PATCHv2 0/1] Enable PAC and BTI for AArch64

Bill Roberts bill.roberts at foss.arm.com
Mon Nov 11 16:44:37 CET 2024


On 11/7/24 2:25 AM, Niels Möller wrote:
> Bill Roberts <bill.roberts at arm.com> writes:
>
>> This moves the generation of the m4 defines into the autoconf system
>> (hats off to whomever built that for GMP)
> I think much of the credit should go to Kevin Ryde and Linus Nordberg
> (who aren't currently active in GMP development).
>
> Instead of adding
>
>    ADD_GNU_NOTES_IF_NEEDED
>
> to all assembly files, you could use m4 divert. Something like adding
>
>    divert(1)
>    ADD_GNU_NOTES_IF_NEEDED
>    divert
>
> to mpn/arm64/arm64-defs.m4. (It could potentially also go in the more
> general mpn/asm-defs.m4, if we want to use the same facility of other
> kinds of notes). That's what I do in nettle, in this file:
>
>    https://git.lysator.liu.se/nettle/nettle/-/blob/master/config.m4.in


Ahh cool, I did not know about that. I will spin a v3 shortly.


>
> /nisse
>


More information about the gmp-devel mailing list