Update of /cvsroot/fink/experimental/fangism/finkinfo In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv4930
Modified Files: gmp.info Added Files: gmp.patch Log Message: thanks to Jack Howarth, patched GMP5 passes tests on x86, x86_64 on darwin10! --- NEW FILE: gmp.patch --- --- gmp-5.0.0/mpn/x86_64/darwin.m4 2010-01-14 20:12:26.000000000 -0500 +++ gmp-5.0.0-patched/mpn/x86_64/darwin.m4 2010-01-14 20:15:09.000000000 -0500 @@ -22,4 +22,8 @@ dnl dnl Simply override the definition in x86_64-defs.m4. +define(`LEA',` + lea $1(%rip), $2 +') + define(`CALL',`call GSYM_PREFIX`'$1') --- gmp-5.0.0/mpn/x86/invert_limb.asm Tue Jan 12 23:50:39 2010 +0100 +++ gmp-5.0.0-patched/mpn/x86/invert_limb.asm Fri Jan 15 00:27:41 2010 +0100 @@ -33,6 +33,13 @@ defframe(PARAM_DIVISOR,4) +ASM_START() + +C Make approx_tab global to work around Apple relocation bug. +ifdef(`DARWIN',` + define(`approx_tab', MPN(invert_limb_tab)) + GLOBL approx_tab') + TEXT ALIGN(16) PROLOGUE(mpn_invert_limb) @@ -95,9 +102,7 @@ EPILOGUE() - RODATA - ALIGN(2) -approx_tab: +DEF_OBJECT(approx_tab,2) .value 0x7fe1,0x7fa1,0x7f61,0x7f22,0x7ee3,0x7ea4,0x7e65,0x7e27 .value 0x7de9,0x7dab,0x7d6d,0x7d30,0x7cf3,0x7cb6,0x7c79,0x7c3d .value 0x7c00,0x7bc4,0x7b89,0x7b4d,0x7b12,0x7ad7,0x7a9c,0x7a61 @@ -162,3 +167,4 @@ .value 0x4179,0x4168,0x4157,0x4147,0x4136,0x4125,0x4115,0x4104 .value 0x40f4,0x40e3,0x40d3,0x40c2,0x40b2,0x40a2,0x4091,0x4081 .value 0x4071,0x4061,0x4050,0x4040,0x4030,0x4020,0x4010,0x4000 +END_OBJECT(approx_tab) Index: gmp.info =================================================================== RCS file: /cvsroot/fink/experimental/fangism/finkinfo/gmp.info,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- gmp.info 13 Jan 2010 05:31:57 -0000 1.3 +++ gmp.info 15 Jan 2010 08:15:03 -0000 1.4 @@ -7,6 +7,8 @@ Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = -64bit ) i386 Source: mirror:gnu:gmp/gmp-%v.tar.gz Source-MD5: 672949b1e137d92fa8d76608e8ab9bc6 +PatchFile: %n.patch +PatchFile-MD5: a32c8651a786aa499afd6b3cb997c017 Depends: %N-shlibs (= %v-%r), libgmpxx5%type_pkg[-64bit]-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu BuildDepends: fink (>= 0.26.0), gcc4.0 (>= 4.0.1-1) Conflicts: gmp, gmp-64bit ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs