[Python-checkins] r80106 - in python/branches/py3k: Misc/NEWS Modules/_ctypes/libffi/src/sparc/v8.S

victor.stinner python-checkins at python.org
Fri Apr 16 14:07:30 CEST 2010


Author: victor.stinner
Date: Fri Apr 16 14:07:30 2010
New Revision: 80106

Log:
Merged revisions 79892 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79892 | martin.v.loewis | 2010-04-07 13:01:46 +0200 (mer., 07 avril 2010) | 2 lines
  
  Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/Modules/_ctypes/libffi/src/sparc/v8.S

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Fri Apr 16 14:07:30 2010
@@ -927,6 +927,8 @@
 Extension Modules
 -----------------
 
+- Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.
+
 - Issue #8300: When passing a non-integer argument to struct.pack with any
   integer format code, struct.pack first attempts to convert the non-integer
   using its __index__ method.  If that method is non-existent or raises

Modified: python/branches/py3k/Modules/_ctypes/libffi/src/sparc/v8.S
==============================================================================
--- python/branches/py3k/Modules/_ctypes/libffi/src/sparc/v8.S	(original)
+++ python/branches/py3k/Modules/_ctypes/libffi/src/sparc/v8.S	Fri Apr 16 14:07:30 2010
@@ -213,6 +213,10 @@
 	be,a	done1
 	 ldd	[%fp-8], %i0
 
+	cmp	%o0, FFI_TYPE_UINT64
+	be,a	done1
+	 ldd	[%fp-8], %i0
+
 	ld	[%fp-8], %i0
 done1:
 	jmp	%i7+8


More information about the Python-checkins mailing list