[pypy-svn] r66858 - pypy/branch/pyjitpl5/pypy/translator/c/src

pedronis at codespeak.net pedronis at codespeak.net
Sun Aug 16 17:59:26 CEST 2009


Author: pedronis
Date: Sun Aug 16 17:59:24 2009
New Revision: 66858

Modified:
   pypy/branch/pyjitpl5/pypy/translator/c/src/asm_gcc_x86.h
Log:
give the fuction a cdecl name



Modified: pypy/branch/pyjitpl5/pypy/translator/c/src/asm_gcc_x86.h
==============================================================================
--- pypy/branch/pyjitpl5/pypy/translator/c/src/asm_gcc_x86.h	(original)
+++ pypy/branch/pyjitpl5/pypy/translator/c/src/asm_gcc_x86.h	Sun Aug 16 17:59:24 2009
@@ -7,7 +7,7 @@
     asm volatile("addl %2,%0\n\t"               \
         "jno 0f\n\t"                            \
         "pusha\n\t"                             \
-        "call op_int_overflowed\n\t"            \
+        "call _op_int_overflowed\n\t"           \
         "popa\n\t"                              \
         "0:"                                    \
         : "=r"(r)            /* outputs */      \
@@ -22,7 +22,7 @@
     asm volatile("subl %2,%0\n\t"               \
         "jno 0f\n\t"                            \
         "pusha\n\t"                             \
-        "call op_int_overflowed\n\t"            \
+        "call _op_int_overflowed\n\t"           \
         "popa\n\t"                              \
         "0:"                                    \
         : "=r"(r)            /* outputs */      \
@@ -34,7 +34,7 @@
     asm volatile("imull %2,%0\n\t"              \
         "jno 0f\n\t"                            \
         "pusha\n\t"                             \
-        "call op_int_overflowed\n\t"            \
+        "call _op_int_overflowed\n\t"           \
         "popa\n\t"                              \
         "0:"                                    \
         : "=r"(r)            /* outputs */      \
@@ -45,7 +45,7 @@
 /* prototypes */
 
 extern void op_int_overflowed(void)
-     asm ("op_int_overflowed")
+     asm ("_op_int_overflowed")
      __attribute__((used));
 
 /* implementations */



More information about the Pypy-commit mailing list