ARM: gmp has no support for thumb interworking

Richard Earnshaw Richard.Earnshaw at
Wed Nov 15 00:46:00 CET 2006

On Tue, 14 Nov 2006 23:42:50 GMT, Richard Earnshaw wrote:
> The hand-coded assembler functions in GMP have no support for being built 
> with interworking as required by the ARM EABI.  This makes it impossible 
> to link libgmp with any code compiled in Thumb state, and thus now 
> prevents me from testing GCC development builds by bootstrapping in Thumb 
> code.
> The functions also unconditionally assume the presence of ARM architecture 
> 4.  Again this means that it is no longer possible to build a native 
> version of GCC that will run on architecture 3 or earlier parts.
> R.

Also note that it is not possible to force use of the generic routines, 
because the longlong.h header assumes that the assembly functions exist 
and can be called.


More information about the gmp-bugs mailing list