[pypy-svn] r78410 - pypy/trunk/pypy/translator/c/gcc

afa at codespeak.net afa at codespeak.net
Thu Oct 28 17:12:25 CEST 2010


Author: afa
Date: Thu Oct 28 17:12:24 2010
New Revision: 78410

Modified:
   pypy/trunk/pypy/translator/c/gcc/trackgcroot.py
Log:
Fix pypy_asm_stackwalk() for darwin64, again


Modified: pypy/trunk/pypy/translator/c/gcc/trackgcroot.py
==============================================================================
--- pypy/trunk/pypy/translator/c/gcc/trackgcroot.py	(original)
+++ pypy/trunk/pypy/translator/c/gcc/trackgcroot.py	Thu Oct 28 17:12:24 2010
@@ -1652,7 +1652,7 @@
                }
             }
             """
-        elif self.format == 'elf64':
+        elif self.format in ('elf64', 'darwin64'):
             print >> output, "\t.text"
             print >> output, "\t.globl %s" % _globalname('pypy_asm_stackwalk')
             _variant(elf64='.type pypy_asm_stackwalk, @function',



More information about the Pypy-commit mailing list