Amos Jeffries <[email protected]> writes:

> If this mp_limb_t type being long is a generic thing it is likely
> affecting other 32-bit OS with mini-gmp in the same way.

I don't think it's a very general problem. First, that assembly code
expects a particular size of mp_limb_t affects only the few
architectures for which Nettle includes any assembly code. Second, the
problem was a 64-bit platform using a 32-bit unsigned long. As far as
I'm aware, 64-bit windows is fairly unique in this choice of ABI (and
there have been a couple of other workarounds related to that).

Anyway, the current mechanism, marking assembly files with the expected
GMP_NUMB_BITS, can be added to other assembly files if the need arises.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to