GMP-5.0.0 problems with gcd_1.asm on Apple with fixes

Torbjorn Granlund tg at gmplib.org
Fri Jan 15 11:34:22 CET 2010


Philip McLaughlin <pbmcl at dakotacom.net> writes:

  On Jan 12, 2010, at 2:59 PM, Torbjorn Granlund wrote:
  
  Fix #1: this error vanishes if the trailing zero table label
  "L(table)" is changed to "tz_table" (2 places).
  
    What is the logic behind this change?
  
  I have done some experimentation and Apple appears to have a bug.

I notice that I avoid the local prefix (typically L or .L) in other GMP
assembly files when refering between sections.  This makes some sense.

(Note the L(foo) inside GMP assembly files invokes the m4 macro L on foo
and expands this to the local right prefix and appends foo.)

Thanks for your GMP improvements!

-- 
Torbjörn


More information about the gmp-bugs mailing list