[PATCH] Fix 64-bit T3 invert_limb.asm on PIC again.

Niels Möller nisse at lysator.liu.se
Mon Apr 15 22:28:54 CEST 2013


David Miller <davem at davemloft.net> writes:

> Accomodating a negative offset means using sethi+xor with the
> "%hix22()" and "%lox10()" relocs, which gets us potentially right back
> into the area where we could hit Solaris assembler/linker quirks.

Maybe I'm missing something, but is there no easier way to sign extend
from 32 to 64 bits? Under the (reasonable) assumption that the offset
fits in the range of a signed 32-bit value, do we really need any fancy
64-bit relocation magic?

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list