Illegal subtraction in tmp-dive_1.s

Torbjorn Granlund tg at gmplib.org
Thu Apr 16 15:56:50 CEST 2009


[I accidentally mailed this just to the reporter.]

Please try this patch:

diff -r 0a3e77042675 mpn/x86/x86-defs.m4
--- a/mpn/x86/x86-defs.m4	Tue Apr 14 14:08:33 2009 +0200
+++ b/mpn/x86/x86-defs.m4	Thu Apr 16 13:16:21 2009 +0200
@@ -934,7 +934,7 @@
 L(movl_eip_`'substr($2,1)):
 	movl	(%esp), $2
 	ret_internal
-	SIZE(`$1',.-`$1')')
+	SIZE($'`1, .-$'`1)')
 
         call    L(movl_eip_`'substr($2,1))
         addl    $_GLOBAL_OFFSET_TABLE_, $2

(I cannot yet commit this to the public GMP repo, since I need to learn
about mercurial tags and branches first.)

-- 
Torbjörn


More information about the gmp-discuss mailing list