[pypy-dev] Compiling PyPy 1.5 fails on Slackware 13.37
Audrius Kažukauskas
audrius at neutrino.lt
Thu May 12 12:20:59 CEST 2011
On Thu, 2011-05-12 at 12:12:15 +0200, Maciej Fijalkowski wrote:
> > Here are some bits of information about the system used: gcc 4.5.2,
> > glibc 2.13. If you need anything else, I'll be happy to report it. I
> > also still have all the .c files created by translation process, if any
> > of those are needed, just tell me where to send them.
>
> testing_1.s or testing_1.c would be cool to have
See attached both testing_1.c and testing_1.s.
--
Audrius Kažukauskas
-------------- next part --------------
#include "common_header.h"
#include "structdef.h"
#include "forwarddecl.h"
/***********************************************************/
/*** Implementations ***/
#define HAVE_RTYPER
typedef struct pypy_rpy_string0 RPyString;
typedef struct pypy_list0 RPyListOfString;
#define _RPyListOfString_SetItem pypy_g__RPyListOfString_SetItem__listPtr_Signed_rpy_str
#define _RPyListOfString_GetItem pypy_g__RPyListOfString_GetItem__listPtr_Signed
#define RPyString_New pypy_g_RPyString_New__Signed
#define _RPyListOfString_New pypy_g__RPyListOfString_New__Signed
#define _RPyListOfString_Length pypy_g__RPyListOfString_Length__listPtr
typedef struct pypy_object_vtable0 *RPYTHON_EXCEPTION_VTABLE;
typedef struct pypy_object0 *RPYTHON_EXCEPTION;
#define RPYTHON_EXCEPTION_MATCH pypy_g_ll_issubclass
#define RPYTHON_TYPE_OF_EXC_INST pypy_g_ll_type__objectPtr
#define RPYTHON_RAISE_OSERROR pypy_g_ll_raise_OSError__Signed
#define RPyExceptionOccurred1 pypy_g_RPyExceptionOccurred
#define RPyFetchExceptionType pypy_g_RPyFetchExceptionType
#define RPyFetchExceptionValue pypy_g_RPyFetchExceptionValue
#define RPyClearException pypy_g_RPyClearException
#define RPyRaiseException pypy_g_RPyRaiseException
#define RPyExc_TypeError (&pypy_g_exceptions_TypeError.te_super.se_super.e_super)
#define RPyExc_OverflowError (&pypy_g_exceptions_OverflowError.oe_super.ae_super.se_super.e_super)
#define RPyExc_UnicodeEncodeError (&pypy_g_exceptions_UnicodeEncodeError.uee_super.ue_super.ve_super.se_super.e_super)
#define RPyExc_IndexError (&pypy_g_exceptions_IndexError.ie_super.le_super.se_super.e_super)
#define RPyExc_RuntimeError (&pypy_g_exceptions_RuntimeError.re_super.se_super.e_super)
#define RPyExc_MemoryError (&pypy_g_exceptions_MemoryError.me_super.se_super.e_super)
#define RPyExc_UnicodeDecodeError (&pypy_g_exceptions_UnicodeDecodeError.ude_super.ue_super.ve_super.se_super.e_super)
#define RPyExc_KeyError (&pypy_g_exceptions_KeyError.ke_super.le_super.se_super.e_super)
#define RPyExc_NotImplementedError (&pypy_g_exceptions_NotImplementedError.nie_super.re_super.se_super.e_super)
#define RPyExc_IOError (&pypy_g_exceptions_IOError.ioe_super.ee_super.se_super.e_super)
#define RPyExc_ZeroDivisionError (&pypy_g_exceptions_ZeroDivisionError.zde_super.ae_super.se_super.e_super)
#define RPyExc_ValueError (&pypy_g_exceptions_ValueError.ve_super.se_super.e_super)
#define RPyExc_AssertionError (&pypy_g_exceptions_AssertionError.ae_super.se_super.e_super)
#define RPyExc_StopIteration (&pypy_g_exceptions_StopIteration.si_super.e_super)
#define RPyExc_OSError (&pypy_g_exceptions_EnvironmentError.ee_super.se_super.e_super)
#define RPyExc_pypy__rlib__rstackovf_StackOverflow (&pypy_g_pypy_rlib_rstackovf_StackOverflow.so_super.re_super.se_super.e_super)
#include "src/g_include.h"
/* structimpl.c */
/* nonfuncnodes.c */
/* nonfuncnodes_1.c */
/* nonfuncnodes_2.c */
/* nonfuncnodes_3.c */
/* nonfuncnodes_4.c */
/* nonfuncnodes_5.c */
/* nonfuncnodes_6.c */
/* nonfuncnodes_7.c */
/* nonfuncnodes_8.c */
/* nonfuncnodes_9.c */
/* nonfuncnodes_10.c */
/* nonfuncnodes_11.c */
/* nonfuncnodes_12.c */
/* nonfuncnodes_13.c */
/* nonfuncnodes_14.c */
/* nonfuncnodes_15.c */
/* nonfuncnodes_16.c */
/* nonfuncnodes_17.c */
/* nonfuncnodes_18.c */
/* nonfuncnodes_19.c */
/* nonfuncnodes_20.c */
/* nonfuncnodes_21.c */
/* nonfuncnodes_22.c */
/* nonfuncnodes_23.c */
/* nonfuncnodes_24.c */
/* nonfuncnodes_25.c */
/* nonfuncnodes_26.c */
/* nonfuncnodes_27.c */
/* nonfuncnodes_28.c */
/* nonfuncnodes_29.c */
/* nonfuncnodes_30.c */
/* nonfuncnodes_31.c */
/* nonfuncnodes_32.c */
/* nonfuncnodes_33.c */
/* nonfuncnodes_34.c */
/* nonfuncnodes_35.c */
/* nonfuncnodes_36.c */
/* nonfuncnodes_37.c */
/* nonfuncnodes_38.c */
/* nonfuncnodes_39.c */
/* nonfuncnodes_40.c */
/* nonfuncnodes_41.c */
/* nonfuncnodes_42.c */
/* nonfuncnodes_43.c */
/* nonfuncnodes_44.c */
/* nonfuncnodes_45.c */
/* nonfuncnodes_46.c */
/* nonfuncnodes_47.c */
/* implement.c */
/* implement_1.c */
/* implement_2.c */
/* implement_3.c */
/* implement_4.c */
/* implement_5.c */
/* implement_6.c */
/* implement_7.c */
/* implement_8.c */
/* implement_9.c */
/* implement_10.c */
/* implement_11.c */
/* implement_12.c */
/* implement_13.c */
/* implement_14.c */
/* implement_15.c */
/* implement_16.c */
/* implement_17.c */
/* implement_18.c */
/* implement_19.c */
/* implement_20.c */
char *RPython_StartupCode(void) {
char *error = NULL;
pypy_g_frameworkgc_setup();
pypy_g_pypy_objspace_std_floatobject_W_FloatObject.wfo_inst_floatval = (Py_HUGE_VAL);
pypy_g_tuple2_1433.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1434.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1435.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1436.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1437.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1437.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1438.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1440.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1441.t_item0 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1441.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1444.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1447.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1448.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1449.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1450.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1451.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1452.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1452.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1453.t_item0 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1454.t_item0 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1457.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1458.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1459.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1460.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1461.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1468.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1469.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1469.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1470.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1471.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1472.t_item0 = (Py_HUGE_VAL);
pypy_g_tuple2_1472.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1473.t_item0 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1473.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1474.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1475.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1476.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1477.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1478.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1479.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1482.t_item1 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1483.t_item1 = (Py_HUGE_VAL);
pypy_g_tuple2_1484.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1485.t_item0 = (Py_HUGE_VAL/Py_HUGE_VAL);
pypy_g_tuple2_1485.t_item1 = (-Py_HUGE_VAL);
pypy_g_tuple2_1486.t_item0 = (-Py_HUGE_VAL);
pypy_g_tuple2_1487.t_item0 = (-Py_HUGE_VAL);
return error;
}
-------------- next part --------------
.file "testing_1.c"
.text
.p2align 4,,15
.type bootstrap_pthread, @function
bootstrap_pthread:
subl $12, %esp
call *16(%esp)
xorl %eax, %eax
addl $12, %esp
ret
.size bootstrap_pthread, .-bootstrap_pthread
.section .rodata
.LC0:
.string ""
.string ""
.text
.p2align 4,,15
.type signal_setflag_handler, @function
signal_setflag_handler:
subl $12, %esp
movl 16(%esp), %eax
cmpl $64, %eax
ja .L3
movb $1, pypysig_flags(%eax)
movl $1, pypysig_occurred
movl $-1, pypysig_counter
.L3:
movl wakeup_fd, %eax
cmpl $-1, %eax
je .L2
pushl %edx
pushl $1
pushl $.LC0
pushl %eax
call write
addl $16, %esp
.L2:
addl $12, %esp
ret
.size signal_setflag_handler, .-signal_setflag_handler
.p2align 4,,15
.globl RPyThreadGetIdent
.type RPyThreadGetIdent, @function
RPyThreadGetIdent:
subl $28, %esp
call pthread_self
movl %eax, (%esp)
movl (%esp), %eax
addl $28, %esp
ret
.size RPyThreadGetIdent, .-RPyThreadGetIdent
.p2align 4,,15
.globl RPyThreadStart
.type RPyThreadStart, @function
RPyThreadStart:
pushl %esi
pushl %ebx
subl $64, %esp
leal 20(%esp), %ebx
pushl %ebx
call pthread_attr_init
movl _pypythread_stacksize, %eax
addl $16, %esp
testl %eax, %eax
jne .L11
.L8:
subl $8, %esp
pushl $0
pushl %ebx
call pthread_attr_setscope
movl 80(%esp), %esi
pushl %esi
pushl $bootstrap_pthread
pushl %ebx
leal 72(%esp), %eax
pushl %eax
call pthread_create
movl %eax, %esi
addl $20, %esp
pushl %ebx
call pthread_attr_destroy
addl $16, %esp
testl %esi, %esi
je .L12
movl $-1, %eax
addl $52, %esp
popl %ebx
popl %esi
ret
.p2align 4,,15
.L12:
subl $12, %esp
movl 56(%esp), %ecx
pushl %ecx
call pthread_detach
movl 60(%esp), %eax
addl $16, %esp
addl $52, %esp
popl %ebx
popl %esi
ret
.p2align 4,,15
.L11:
subl $8, %esp
pushl %eax
pushl %ebx
call pthread_attr_setstacksize
addl $16, %esp
jmp .L8
.size RPyThreadStart, .-RPyThreadStart
.p2align 4,,15
.globl RPyThreadGetStackSize
.type RPyThreadGetStackSize, @function
RPyThreadGetStackSize:
movl _pypythread_stacksize, %eax
ret
.size RPyThreadGetStackSize, .-RPyThreadGetStackSize
.p2align 4,,15
.globl RPyThreadSetStackSize
.type RPyThreadSetStackSize, @function
RPyThreadSetStackSize:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $60, %esp
movl 80(%esp), %ebx
testl %ebx, %ebx
jne .L15
movl $0, _pypythread_stacksize
xorl %esi, %esi
.L16:
movl %esi, %eax
addl $60, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L15:
cmpl $32767, %ebx
ja .L20
movl $-1, %esi
jmp .L16
.L20:
subl $12, %esp
leal 24(%esp), %edi
pushl %edi
call pthread_attr_init
addl $16, %esp
orl $-1, %esi
testl %eax, %eax
jne .L16
pushl %ebp
pushl %ebp
pushl %ebx
pushl %edi
call pthread_attr_setstacksize
movl %eax, %ebp
movl %edi, (%esp)
call pthread_attr_destroy
addl $16, %esp
testl %ebp, %ebp
jne .L16
movl %ebx, _pypythread_stacksize
xorl %esi, %esi
jmp .L16
.size RPyThreadSetStackSize, .-RPyThreadSetStackSize
.p2align 4,,15
.globl RPyThreadAfterFork
.type RPyThreadAfterFork, @function
RPyThreadAfterFork:
ret
.size RPyThreadAfterFork, .-RPyThreadAfterFork
.section .rodata.str1.1,"aMS", at progbits,1
.LC1:
.string "sem_init"
.text
.p2align 4,,15
.globl RPyThreadLockInit
.type RPyThreadLockInit, @function
RPyThreadLockInit:
pushl %ebx
subl $12, %esp
movl 20(%esp), %ebx
movl $0, 16(%ebx)
pushl $1
pushl $0
pushl %ebx
call sem_init
addl $16, %esp
testl %eax, %eax
jne .L25
movl $1, 16(%ebx)
movl $1, %eax
addl $8, %esp
popl %ebx
ret
.p2align 4,,15
.L25:
subl $12, %esp
pushl $.LC1
call perror
addl $16, %esp
xorl %eax, %eax
addl $8, %esp
popl %ebx
ret
.size RPyThreadLockInit, .-RPyThreadLockInit
.section .rodata.str1.1
.LC2:
.string "sem_destroy"
.text
.p2align 4,,15
.globl RPyOpaqueDealloc_ThreadLock
.type RPyOpaqueDealloc_ThreadLock, @function
RPyOpaqueDealloc_ThreadLock:
subl $12, %esp
movl 16(%esp), %eax
movl 16(%eax), %edx
testl %edx, %edx
jne .L28
.L26:
addl $12, %esp
ret
.p2align 4,,15
.L28:
subl $12, %esp
pushl %eax
call sem_destroy
addl $16, %esp
testl %eax, %eax
je .L26
movl $.LC2, 16(%esp)
addl $12, %esp
jmp perror
.size RPyOpaqueDealloc_ThreadLock, .-RPyOpaqueDealloc_ThreadLock
.section .rodata.str1.1
.LC3:
.string "sem_wait"
.LC4:
.string "sem_trywait"
.text
.p2align 4,,15
.globl RPyThreadAcquireLock
.type RPyThreadAcquireLock, @function
RPyThreadAcquireLock:
pushl %ebx
subl $24, %esp
movl 32(%esp), %ebx
movl 36(%esp), %ecx
testl %ecx, %ecx
jne .L38
jmp .L37
.p2align 4,,15
.L31:
cmpl $4, %eax
jne .L42
.L37:
subl $12, %esp
pushl %ebx
call sem_trywait
addl $16, %esp
cmpl $-1, %eax
jne .L31
call __errno_location
movl (%eax), %eax
cmpl $4, %eax
je .L37
.p2align 4,,15
.L42:
cmpl $11, %eax
je .L35
testl %eax, %eax
jne .L43
.L35:
testl %eax, %eax
sete %al
andl $255, %eax
addl $24, %esp
popl %ebx
ret
.p2align 4,,15
.L45:
call __errno_location
movl (%eax), %eax
cmpl $4, %eax
jne .L44
.p2align 4,,15
.L38:
subl $12, %esp
pushl %ebx
call sem_wait
addl $16, %esp
cmpl $-1, %eax
je .L45
cmpl $4, %eax
je .L38
.L44:
testl %eax, %eax
je .L35
subl $12, %esp
pushl $.LC3
movl %eax, 28(%esp)
call perror
addl $16, %esp
movl 12(%esp), %eax
testl %eax, %eax
sete %al
andl $255, %eax
addl $24, %esp
popl %ebx
ret
.p2align 4,,15
.L43:
subl $12, %esp
pushl $.LC4
movl %eax, 28(%esp)
call perror
addl $16, %esp
movl 12(%esp), %eax
testl %eax, %eax
sete %al
andl $255, %eax
addl $24, %esp
popl %ebx
ret
.size RPyThreadAcquireLock, .-RPyThreadAcquireLock
.section .rodata.str1.1
.LC5:
.string "sem_post"
.text
.p2align 4,,15
.globl RPyThreadReleaseLock
.type RPyThreadReleaseLock, @function
RPyThreadReleaseLock:
subl $24, %esp
movl 28(%esp), %eax
pushl %eax
call sem_post
addl $16, %esp
testl %eax, %eax
jne .L48
addl $12, %esp
ret
.p2align 4,,15
.L48:
movl $.LC5, 16(%esp)
addl $12, %esp
jmp perror
.size RPyThreadReleaseLock, .-RPyThreadReleaseLock
.section .rodata.str1.4,"aMS", at progbits,1
.align 4
.LC6:
.string "out of thread-local storage keys"
.text
.p2align 4,,15
.globl RPyThreadTLS_Create
.type RPyThreadTLS_Create, @function
RPyThreadTLS_Create:
subl $20, %esp
pushl $0
movl 28(%esp), %edx
pushl %edx
call pthread_key_create
movl %eax, %edx
xorl %eax, %eax
testl %edx, %edx
movl $.LC6, %edx
cmovne %edx, %eax
addl $28, %esp
ret
.size RPyThreadTLS_Create, .-RPyThreadTLS_Create
.p2align 4,,15
.globl RPyThreadYield
.type RPyThreadYield, @function
RPyThreadYield:
ret
.size RPyThreadYield, .-RPyThreadYield
.p2align 4,,15
.globl pypysig_getaddr_occurred
.type pypysig_getaddr_occurred, @function
pypysig_getaddr_occurred:
movl $pypysig_counter, %eax
ret
.size pypysig_getaddr_occurred, .-pypysig_getaddr_occurred
.p2align 4,,15
.globl pypysig_ignore
.type pypysig_ignore, @function
pypysig_ignore:
pushl %ebx
subl $164, %esp
movl $1, 16(%esp)
leal 16(%esp), %ebx
leal 20(%esp), %eax
pushl %eax
call sigemptyset
movl $0, 152(%esp)
addl $12, %esp
pushl $0
pushl %ebx
movl 172(%esp), %ecx
pushl %ecx
call sigaction
addl $168, %esp
popl %ebx
ret
.size pypysig_ignore, .-pypysig_ignore
.p2align 4,,15
.globl pypysig_default
.type pypysig_default, @function
pypysig_default:
pushl %ebx
subl $164, %esp
movl $0, 16(%esp)
leal 16(%esp), %ebx
leal 20(%esp), %eax
pushl %eax
call sigemptyset
movl $0, 152(%esp)
addl $12, %esp
pushl $0
pushl %ebx
movl 172(%esp), %ebx
pushl %ebx
call sigaction
addl $168, %esp
popl %ebx
ret
.size pypysig_default, .-pypysig_default
.p2align 4,,15
.globl pypysig_setflag
.type pypysig_setflag, @function
pypysig_setflag:
pushl %ebx
subl $164, %esp
movl $signal_setflag_handler, 16(%esp)
leal 16(%esp), %ebx
leal 20(%esp), %eax
pushl %eax
call sigemptyset
movl $0, 152(%esp)
addl $12, %esp
pushl $0
pushl %ebx
movl 172(%esp), %eax
pushl %eax
call sigaction
addl $168, %esp
popl %ebx
ret
.size pypysig_setflag, .-pypysig_setflag
.p2align 4,,15
.globl pypysig_reinstall
.type pypysig_reinstall, @function
pypysig_reinstall:
ret
.size pypysig_reinstall, .-pypysig_reinstall
.p2align 4,,15
.globl pypysig_poll
.type pypysig_poll, @function
pypysig_poll:
movl pypysig_occurred, %eax
testl %eax, %eax
jne .L64
movl $-1, %eax
ret
.p2align 4,,15
.L64:
movl $0, pypysig_occurred
xorl %eax, %eax
jmp .L61
.p2align 4,,15
.L60:
incl %eax
cmpl $65, %eax
je .L65
.L61:
movb pypysig_flags(%eax), %dl
testb %dl, %dl
je .L60
movb $0, pypysig_flags(%eax)
movl $1, pypysig_occurred
ret
.p2align 4,,15
.L65:
movl $-1, %eax
ret
.size pypysig_poll, .-pypysig_poll
.p2align 4,,15
.globl pypysig_set_wakeup_fd
.type pypysig_set_wakeup_fd, @function
pypysig_set_wakeup_fd:
movl wakeup_fd, %eax
movl 4(%esp), %edx
movl %edx, wakeup_fd
ret
.size pypysig_set_wakeup_fd, .-pypysig_set_wakeup_fd
.p2align 4,,15
.globl _LL_stack_growing_direction
.type _LL_stack_growing_direction, @function
_LL_stack_growing_direction:
subl $28, %esp
movl 32(%esp), %edx
testl %edx, %edx
je .L70
leal 15(%esp), %eax
subl %edx, %eax
.L69:
addl $28, %esp
ret
.p2align 4,,15
.L70:
subl $12, %esp
leal 27(%esp), %eax
pushl %eax
call _LL_stack_growing_direction
addl $16, %esp
jmp .L69
.size _LL_stack_growing_direction, .-_LL_stack_growing_direction
.p2align 4,,15
.globl LL_stack_too_big_slowpath
.type LL_stack_too_big_slowpath, @function
LL_stack_too_big_slowpath:
pushl %ebx
subl $8, %esp
movl 16(%esp), %ebx
movl stack_direction, %edx
testl %edx, %edx
je .L83
.L72:
movl %gs:start_tls_key at ntpoff, %eax
testl %eax, %eax
je .L74
.L85:
movl %ebx, %ecx
subl %eax, %ecx
cmpl $786431, %ecx
jbe .L84
testl %edx, %edx
jle .L77
addl $786431, %ecx
cmpl $786430, %ecx
ja .L82
.L78:
movl %ebx, %gs:start_tls_key at ntpoff
movl %ebx, _LLstacktoobig_stack_start
xorl %eax, %eax
addl $8, %esp
popl %ebx
ret
.p2align 4,,15
.L84:
movl %eax, _LLstacktoobig_stack_start
xorl %eax, %eax
addl $8, %esp
popl %ebx
ret
.p2align 4,,15
.L83:
subl $12, %esp
pushl $0
call _LL_stack_growing_direction
addl $16, %esp
testl %eax, %eax
jle .L73
movl $1, stack_direction
movl $1, %edx
movl %gs:start_tls_key at ntpoff, %eax
testl %eax, %eax
jne .L85
.L74:
testl %edx, %edx
jg .L78
jmp .L79
.p2align 4,,15
.L82:
movb $1, %al
addl $8, %esp
popl %ebx
ret
.p2align 4,,15
.L77:
subl $786432, %ecx
cmpl $786431, %ecx
ja .L82
.L79:
subl $786431, %ebx
jmp .L78
.p2align 4,,15
.L73:
movl $-1, stack_direction
movl $-1, %edx
jmp .L72
.size LL_stack_too_big_slowpath, .-LL_stack_too_big_slowpath
.p2align 4,,15
.globl _RPyRaiseSimpleException
.type _RPyRaiseSimpleException, @function
_RPyRaiseSimpleException:
pushl %ebx
subl $20, %esp
movl 28(%esp), %ebx
pushl %ebx
call pypy_g_ll_type__objectPtr
popl %edx
popl %ecx
pushl %ebx
pushl %eax
call pypy_g_RPyRaiseException
addl $24, %esp
popl %ebx
ret
.size _RPyRaiseSimpleException, .-_RPyRaiseSimpleException
.p2align 4,,15
.globl op_llong_mul_ovf
.type op_llong_mul_ovf, @function
op_llong_mul_ovf:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $44, %esp
movl 64(%esp), %ecx
movl 68(%esp), %ebx
movl 72(%esp), %edi
movl 76(%esp), %ebp
movl %ebp, %esi
imull %ecx, %esi
movl %ebx, %eax
imull %edi, %eax
addl %eax, %esi
movl %edi, %eax
mull %ecx
movl %eax, (%esp)
addl %esi, %edx
movl %edx, 4(%esp)
movd %ecx, %xmm1
movd %ebx, %xmm2
punpckldq %xmm2, %xmm1
movq %xmm1, 24(%esp)
fildq 24(%esp)
fstpl 8(%esp)
movsd 8(%esp), %xmm0
movd %edi, %xmm1
movd %ebp, %xmm2
punpckldq %xmm2, %xmm1
movq %xmm1, 24(%esp)
fildq 24(%esp)
fstpl 16(%esp)
mulsd 16(%esp), %xmm0
fildq (%esp)
fstpl 8(%esp)
movsd 8(%esp), %xmm1
ucomisd %xmm0, %xmm1
jnp .L95
.L93:
subsd %xmm0, %xmm1
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm1
jb .L96
ucomisd %xmm2, %xmm0
jb .L97
.L91:
mulsd .LC9, %xmm1
ucomisd %xmm1, %xmm0
jb .L98
.L88:
movl (%esp), %eax
movl 4(%esp), %edx
addl $44, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L97:
movsd .LC8, %xmm2
xorpd %xmm2, %xmm0
jmp .L91
.p2align 4,,15
.L96:
movsd .LC8, %xmm3
xorpd %xmm3, %xmm1
ucomisd %xmm2, %xmm0
jae .L91
jmp .L97
.p2align 4,,15
.L95:
jne .L93
movl (%esp), %eax
movl 4(%esp), %edx
addl $44, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L98:
subl $12, %esp
pushl $pypy_g_exceptions_OverflowError
call pypy_g_ll_type__objectPtr
popl %ebx
popl %esi
pushl $pypy_g_exceptions_OverflowError
pushl %eax
call pypy_g_RPyRaiseException
addl $16, %esp
movl $-1, (%esp)
movl $-1, 4(%esp)
jmp .L88
.size op_llong_mul_ovf, .-op_llong_mul_ovf
.p2align 4,,15
.globl instrument_setup
.type instrument_setup, @function
instrument_setup:
ret
.size instrument_setup, .-instrument_setup
.section .rodata.str1.1
.LC11:
.string "(out of memory!)"
.text
.p2align 4,,15
.globl RPyString_AsCharP
.type RPyString_AsCharP, @function
RPyString_AsCharP:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $24, %esp
movl 44(%esp), %esi
movl 8(%esi), %ebx
leal 8(%ebx), %eax
pushl %eax
call malloc
addl $16, %esp
testl %eax, %eax
je .L105
movl _RPyString_dump, %edx
movl %edx, (%eax)
movl %eax, _RPyString_dump
leal 4(%eax), %ebp
movl %ebp, %edi
addl $12, %esi
cmpl $4, %ebx
jae .L106
xorl %ecx, %ecx
testb $2, %bl
jne .L107
.L103:
testb $1, %bl
jne .L108
.L104:
movb $0, 4(%eax,%ebx)
movl %ebp, %eax
addl $12, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L108:
movb (%esi,%ecx), %dl
movb %dl, (%edi,%ecx)
jmp .L104
.p2align 4,,15
.L107:
movw (%esi), %cx
movw %cx, (%edi)
movl $2, %ecx
testb $1, %bl
je .L104
jmp .L108
.p2align 4,,15
.L106:
movl %ebx, %ecx
shrl $2, %ecx
rep movsl
xorl %ecx, %ecx
testb $2, %bl
je .L103
jmp .L107
.p2align 4,,15
.L105:
movl $.LC11, %eax
addl $12, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.size RPyString_AsCharP, .-RPyString_AsCharP
.p2align 4,,15
.globl RPyString_FreeCache
.type RPyString_FreeCache, @function
RPyString_FreeCache:
subl $12, %esp
movl _RPyString_dump, %eax
testl %eax, %eax
je .L109
.p2align 4,,15
.L112:
movl (%eax), %edx
movl %edx, _RPyString_dump
subl $12, %esp
pushl %eax
call free
movl _RPyString_dump, %eax
addl $16, %esp
testl %eax, %eax
jne .L112
.L109:
addl $12, %esp
ret
.size RPyString_FreeCache, .-RPyString_FreeCache
.p2align 4,,15
.globl RPyString_FromString
.type RPyString_FromString, @function
RPyString_FromString:
pushl %edi
pushl %esi
pushl %ebx
movl 16(%esp), %esi
subl $12, %esp
pushl %esi
call strlen
movl %eax, %ebx
movl %eax, (%esp)
call pypy_g_RPyString_New__Signed
leal 12(%eax), %edi
cmpl $4, %ebx
jb .L115
movl %ebx, %ecx
shrl $2, %ecx
rep movsl
.L115:
xorl %edx, %edx
testb $2, %bl
je .L116
movw (%esi), %dx
movw %dx, (%edi)
movl $2, %edx
.L116:
andl $1, %ebx
je .L117
movb (%esi,%edx), %cl
movb %cl, (%edi,%edx)
.L117:
addl $16, %esp
popl %ebx
popl %esi
popl %edi
ret
.size RPyString_FromString, .-RPyString_FromString
.section .rodata.str1.1
.LC12:
.string "RPython traceback:\n"
.LC13:
.string " ...\n"
.LC14:
.string " File \"%s\", line %d, in %s\n"
.section .rodata.str1.4
.align 4
.LC15:
.string " Note: this traceback is incomplete or corrupted!\n"
.text
.p2align 4,,15
.globl pypy_debug_traceback_print
.type pypy_debug_traceback_print, @function
pypy_debug_traceback_print:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $12, %esp
call pypy_g_RPyFetchExceptionType
movl %eax, %esi
movl stderr, %edi
pushl %edi
pushl $19
pushl $1
pushl $.LC12
call fwrite
movl pypydtcount, %ebp
movl %ebp, %ebx
addl $16, %esp
xorl %ecx, %ecx
.L129:
decl %ebx
andl $127, %ebx
cmpl %ebp, %ebx
je .L131
.L120:
movl pypy_debug_tracebacks(,%ebx,8), %eax
movl pypy_debug_tracebacks+4(,%ebx,8), %edi
leal -1(%eax), %edx
cmpl $-3, %edx
setbe %dl
andl $255, %edx
testl %ecx, %ecx
je .L122
testl %edx, %edx
je .L130
cmpl %esi, %edi
je .L124
.L130:
movl $1, %ecx
decl %ebx
andl $127, %ebx
cmpl %ebp, %ebx
jne .L120
.L131:
movl stderr, %ebx
pushl %ebx
pushl $6
pushl $1
pushl $.LC13
call fwrite
addl $16, %esp
.L118:
addl $12, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L122:
testl %edx, %edx
jne .L124
testl %esi, %esi
je .L126
cmpl %edi, %esi
jne .L132
.L126:
testl %eax, %eax
je .L118
movl %edi, %esi
jmp .L130
.p2align 4,,15
.L124:
subl $12, %esp
movl 4(%eax), %ecx
pushl %ecx
movl 8(%eax), %edx
pushl %edx
movl (%eax), %eax
pushl %eax
pushl $.LC14
movl stderr, %ebp
pushl %ebp
call fprintf
addl $32, %esp
xorl %ecx, %ecx
movl pypydtcount, %ebp
jmp .L129
.p2align 4,,15
.L132:
movl stderr, %edi
pushl %edi
pushl $51
pushl $1
pushl $.LC15
call fwrite
addl $16, %esp
addl $12, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.size pypy_debug_traceback_print, .-pypy_debug_traceback_print
.section .rodata.str1.1
.LC16:
.string "Fatal RPython error: %s\n"
.text
.p2align 4,,15
.globl pypy_debug_catch_fatal_exception
.type pypy_debug_catch_fatal_exception, @function
pypy_debug_catch_fatal_exception:
subl $12, %esp
call pypy_debug_traceback_print
call pypy_g_RPyFetchExceptionType
pushl %edx
movl 12(%eax), %eax
addl $4, %eax
pushl %eax
pushl $.LC16
movl stderr, %eax
pushl %eax
call fprintf
call abort
.size pypy_debug_catch_fatal_exception, .-pypy_debug_catch_fatal_exception
.section .rodata.str1.1
.LC17:
.string "0"
.text
.p2align 4,,15
.globl LL_strtod_parts_to_float
.type LL_strtod_parts_to_float, @function
LL_strtod_parts_to_float:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $76, %esp
movl 108(%esp), %eax
movl $.LC17, %esi
cmpb $0, (%eax)
cmovne %eax, %esi
call localeconv
movl (%eax), %ebp
subl $12, %esp
pushl %ebp
call strlen
popl %edx
movl %eax, %edi
movl 108(%esp), %eax
pushl %eax
call strlen
popl %ebx
movl %eax, %ebx
movl 112(%esp), %ecx
pushl %ecx
call strlen
popl %edx
movl %eax, 52(%esp)
movl 116(%esp), %eax
pushl %eax
call strlen
movl %eax, 60(%esp)
movl %esi, (%esp)
call strlen
leal 2(%edi,%ebx), %edi
addl 56(%esp), %edi
addl 60(%esp), %edi
addl %eax, %edi
movl %edi, (%esp)
call malloc
movl %eax, %ebx
popl %edx
popl %ecx
movl 104(%esp), %eax
pushl %eax
pushl %ebx
call strcpy
popl %edx
popl %ecx
movl 108(%esp), %eax
pushl %eax
pushl %ebx
call strcat
popl %edx
popl %ecx
pushl %ebp
pushl %ebx
call strcat
popl %ebp
popl %eax
movl 112(%esp), %ecx
pushl %ecx
pushl %ebx
call strcat
movl %ebx, (%esp)
call strlen
popl %ebp
popl %edx
movw $101, (%ebx,%eax)
pushl %esi
pushl %ebx
call strcat
leal -1(%ebx,%edi), %esi
popl %ecx
popl %edi
leal 56(%esp), %eax
pushl %eax
pushl %ebx
call strtod
fstpl 32(%esp)
call __errno_location
movl %eax, %edi
movl $0, (%eax)
movl 64(%esp), %edx
addl $16, %esp
cmpl %edx, %esi
fldl 16(%esp)
jae .L136
movl %esi, 48(%esp)
movl %esi, %edx
.L136:
cmpl %ebx, %edx
je .L145
cmpb $0, (%edx)
jne .L146
cmpl %esi, %edx
je .L138
fstp %st(0)
jmp .L137
.p2align 4,,15
.L145:
fstp %st(0)
jmp .L137
.p2align 4,,15
.L146:
fstp %st(0)
.L137:
subl $12, %esp
pushl %ebx
call free
movl $42, (%edi)
addl $16, %esp
fld1
fchs
addl $76, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L138:
fstl 8(%esp)
movsd 8(%esp), %xmm0
ucomisd .LC7, %xmm0
jnp .L144
.L140:
subl $12, %esp
pushl %ebx
fstpl 32(%esp)
call free
addl $16, %esp
fldl 16(%esp)
addl $76, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L144:
jne .L140
fstp %st(0)
subl $8, %esp
pushl $0
pushl %ebx
call strtod
movl $0, (%edi)
addl $16, %esp
jmp .L140
.size LL_strtod_parts_to_float, .-LL_strtod_parts_to_float
.section .rodata.str1.1
.LC19:
.string "%.*e"
.LC20:
.string "%.*f"
.LC21:
.string "%.*g"
.text
.p2align 4,,15
.globl LL_strtod_formatd
.type LL_strtod_formatd, @function
LL_strtod_formatd:
pushl %edi
pushl %esi
pushl %ebx
movl 16(%esp), %edx
movl 20(%esp), %ecx
movb 24(%esp), %al
cmpb $101, %al
je .L156
cmpb $102, %al
je .L157
cmpb $103, %al
jne .L150
movl $.LC21, %eax
.L148:
subl $8, %esp
pushl %ecx
pushl %edx
movl 44(%esp), %esi
pushl %esi
pushl %eax
movl buflen, %ebx
pushl %ebx
pushl $buffer
call snprintf
addl $32, %esp
testl %eax, %eax
jle .L150
cmpl buflen, %eax
jge .L150
call localeconv
movl (%eax), %esi
subl $12, %esp
pushl %esi
call strlen
addl $16, %esp
movl %eax, %edi
cmpb $46, (%esi)
je .L161
.L152:
movb buffer, %al
cmpb $43, %al
je .L159
movl $buffer, %ebx
cmpb $45, %al
movl $buffer+1, %eax
cmove %eax, %ebx
.L153:
call __ctype_b_loc
movl (%eax), %edx
jmp .L154
.p2align 4,,15
.L155:
incl %ebx
.L154:
xorl %eax, %eax
movb (%ebx), %al
testb $8, 1(%edx,%eax,2)
jne .L155
pushl %ecx
pushl %edi
pushl %esi
pushl %ebx
call strncmp
addl $16, %esp
testl %eax, %eax
jne .L149
movb $46, (%ebx)
cmpl $1, %edi
jle .L149
incl %ebx
leal -1(%ebx,%edi), %edi
subl $12, %esp
pushl %edi
call strlen
addl $12, %esp
movl %eax, %esi
pushl %eax
pushl %edi
pushl %ebx
call memmove
movb $0, (%ebx,%esi)
addl $16, %esp
jmp .L149
.p2align 4,,15
.L150:
movl $1059995455, buffer
movb $0, buffer+4
.L149:
movl $buffer, %eax
popl %ebx
popl %esi
popl %edi
ret
.p2align 4,,15
.L157:
movl $.LC20, %eax
jmp .L148
.p2align 4,,15
.L161:
cmpb $0, 1(%esi)
jne .L152
jmp .L149
.p2align 4,,15
.L159:
movl $buffer+1, %ebx
jmp .L153
.p2align 4,,15
.L156:
movl $.LC19, %eax
jmp .L148
.size LL_strtod_formatd, .-LL_strtod_formatd
.section .rodata.str1.4
.align 4
.LC22:
.string "/tmp/SBo/pypy-1.5-src/pypy/translator/c/src/obmalloc.c"
.section .rodata.str1.1
.LC23:
.string "bp != ((void *)0)"
.section .rodata.str1.4
.align 4
.LC24:
.string "narenas == 0 && maxarenas == 0"
.section .rodata.str1.1
.LC25:
.string "narenas < maxarenas"
.text
.p2align 4,,15
.globl PyObject_Malloc
.type PyObject_Malloc, @function
PyObject_Malloc:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $28, %esp
movl 48(%esp), %esi
leal -1(%esi), %ebp
cmpl $255, %ebp
ja .L163
shrl $3, %ebp
leal (%ebp,%ebp), %ebx
movl usedpools(,%ebx,4), %edx
movl 8(%edx), %ecx
cmpl %edx, %ecx
je .L164
incl (%edx)
movl 4(%edx), %eax
testl %eax, %eax
je .L188
movl (%eax), %ebx
movl %ebx, 4(%edx)
testl %ebx, %ebx
je .L189
.L166:
addl $28, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
.p2align 4,,15
.L163:
testl %esi, %esi
movl $1, %eax
cmove %eax, %esi
.L185:
movl %esi, 48(%esp)
addl $28, %esp
popl %ebx
popl %esi
popl %edi
popl %ebp
jmp malloc
.p2align 4,,15
.L164:
movl freepools, %edx
testl %edx, %edx
je .L168
movl 8(%edx), %eax
movl %eax, freepools
movl 20(%edx), %eax
.L169:
movl %ecx, 8(%edx)
movl %ecx, 12(%edx)
movl %edx, 8(%ecx)
movl %edx, 12(%ecx)
movl $1, (%edx)
cmpl %eax, %ebp
je .L190
.L170:
movl %ebp, 20(%edx)
leal 8(,%ebp,8), %ecx
leal 32(%edx), %eax
leal 32(%ecx,%ecx), %ebx
movl %ebx, 24(%edx)
movl $4096, %ebx
subl %ecx, %ebx
movl %ebx, 28(%edx)
leal (%eax,%ecx), %ecx
movl %ecx, 4(%edx)
movl $0, (%ecx)
jmp .L166
.p2align 4,,15
.L189:
movl 24(%edx), %ebx
cmpl 28(%edx), %ebx
ja .L167
leal (%edx,%ebx), %ecx
movl %ecx, 4(%edx)
leal 8(%ebx,%ebp,8), %ebx
movl %ebx, 24(%edx)
movl $0, (%ecx)
jmp .L166
.p2align 4,,15
.L167:
movl 12(%edx), %edx
movl %edx, 12(%ecx)
movl %ecx, 8(%edx)
jmp .L166
.p2align 4,,15
.L190:
movl 4(%edx), %eax
movl (%eax), %ecx
movl %ecx, 4(%edx)
jmp .L166
.p2align 4,,15
.L168:
movl nfreepools, %eax
testl %eax, %eax
je .L171
.L172:
decl %eax
movl %eax, nfreepools
movl arenabase, %edx
leal 4096(%edx), %eax
movl %eax, arenabase
movl narenas, %eax
decl %eax
movl %eax, 16(%edx)
movl $65535, 20(%edx)
movl %ecx, 8(%edx)
movl %ecx, 12(%edx)
movl %edx, 8(%ecx)
movl %edx, 12(%ecx)
movl $1, (%edx)
jmp .L170
.L171:
subl $12, %esp
pushl $262144
call malloc
movl %eax, 20(%esp)
addl $16, %esp
testl %eax, %eax
je .L185
movl %eax, arenabase
movl $64, nfreepools
movl 4(%esp), %eax
andl $4095, %eax
je .L174
movl $63, nfreepools
movl 4(%esp), %edx
subl %eax, %edx
movl %edx, %eax
addl $4096, %eax
movl %eax, arenabase
.L174:
movl arenas, %eax
testl %eax, %eax
je .L191
movl narenas, %eax
movl maxarenas, %ecx
movl %ecx, 8(%esp)
cmpl %ecx, %eax
je .L192
.L179:
movl narenas, %eax
cmpl %eax, 8(%esp)
jbe .L193
movl arenas, %eax
movl narenas, %edx
movl 4(%esp), %ecx
movl %ecx, (%eax,%edx,4)
movl narenas, %eax
incl %eax
movl %eax, narenas
movl nfreepools, %eax
movl usedpools(,%ebx,4), %ecx
jmp .L172
.L192:
addl %ecx, %ecx
movl %ecx, 8(%esp)
cmpl %ecx, %eax
jae .L178
subl $12, %esp
leal 0(,%ecx,4), %eax
pushl %eax
call malloc
movl %eax, 28(%esp)
addl $16, %esp
testl %eax, %eax
je .L178
movl narenas, %ecx
movl arenas, %edx
sall $2, %ecx
cmpl $4, %ecx
jb .L182
shrl $2, %ecx
movl 12(%esp), %edi
movl %edx, %esi
rep movsl
.L182:
movl 12(%esp), %eax
movl %eax, arenas
movl 8(%esp), %edx
movl %edx, maxarenas
jmp .L179
.L191:
movl narenas, %eax
testl %eax, %eax
jne .L176
cmpl $0, maxarenas
jne .L176
subl $12, %esp
pushl $64
call malloc
movl %eax, arenas
movl arenas, %eax
addl $16, %esp
testl %eax, %eax
je .L178
movl $16, maxarenas
movl $16, 8(%esp)
jmp .L179
.L178:
subl $12, %esp
pushl 16(%esp)
call free
movl $0, nfreepools
addl $16, %esp
jmp .L185
.L188:
pushl $__PRETTY_FUNCTION__.254917
pushl $605
pushl $.LC22
pushl $.LC23
call __assert_fail
.L176:
pushl $__PRETTY_FUNCTION__.254906
pushl $452
pushl $.LC22
pushl $.LC24
call __assert_fail
.L193:
pushl $__PRETTY_FUNCTION__.254906
pushl $510
pushl $.LC22
pushl $.LC25
call __assert_fail
.size PyObject_Malloc, .-PyObject_Malloc
.section .rodata.str1.1
.LC26:
.string "pool->ref.count > 0"
.text
.p2align 4,,15
.globl PyObject_Free
.type PyObject_Free, @function
PyObject_Free:
pushl %esi
pushl %ebx
subl $4, %esp
movl 16(%esp), %eax
testl %eax, %eax
je .L194
movl %eax, %edx
andl $-4096, %edx
movl 16(%edx), %ecx
movl narenas, %ebx
cmpl %ebx, %ecx
jae .L196
movl arenas, %ebx
movl %eax, %esi
subl (%ebx,%ecx,4), %esi
cmpl $262143, %esi
ja .L196
movl (%edx), %ecx
testl %ecx, %ecx
je .L200
movl 4(%edx), %ecx
movl %ecx, (%eax)
movl %eax, 4(%edx)
testl %ecx, %ecx
je .L198
movl (%edx), %eax
decl %eax
movl %eax, (%edx)
testl %eax, %eax
je .L201
.L194:
addl $4, %esp
popl %ebx
popl %esi
ret
.p2align 4,,15
.L196:
movl %eax, 16(%esp)
addl $4, %esp
popl %ebx
popl %esi
jmp free
.p2align 4,,15
.L201:
movl 8(%edx), %ecx
movl 12(%edx), %eax
movl %eax, 12(%ecx)
movl %ecx, 8(%eax)
movl freepools, %eax
movl %eax, 8(%edx)
movl %edx, freepools
addl $4, %esp
popl %ebx
popl %esi
ret
.p2align 4,,15
.L198:
movl (%edx), %eax
decl %eax
movl %eax, (%edx)
testl %eax, %eax
je .L202
movl 20(%edx), %eax
movl usedpools(,%eax,8), %eax
movl 12(%eax), %ecx
movl %eax, 8(%edx)
movl %ecx, 12(%edx)
movl %edx, 12(%eax)
movl %edx, 8(%ecx)
jmp .L194
.L200:
pushl $__PRETTY_FUNCTION__.254929
pushl $746
pushl $.LC22
pushl $.LC26
call __assert_fail
.L202:
pushl $__PRETTY_FUNCTION__.254929
pushl $785
pushl $.LC22
pushl $.LC26
call __assert_fail
.size PyObject_Free, .-PyObject_Free
.p2align 4,,15
.globl PyObject_Realloc
.type PyObject_Realloc, @function
PyObject_Realloc:
pushl %edi
pushl %esi
pushl %ebx
subl $16, %esp
movl 32(%esp), %ebx
movl 36(%esp), %eax
testl %ebx, %ebx
je .L215
movl %ebx, %ecx
andl $-4096, %ecx
movl 16(%ecx), %edx
movl narenas, %esi
cmpl %esi, %edx
jae .L205
movl arenas, %esi
movl %ebx, %edi
subl (%esi,%edx,4), %edi
cmpl $262143, %edi
ja .L205
movl 20(%ecx), %edx
leal 8(,%edx,8), %esi
cmpl %esi, %eax
ja .L206
leal 0(,%eax,4), %ecx
leal (%esi,%esi,2), %edx
cmpl %edx, %ecx
ja .L207
movl %eax, %esi
.L206:
subl $12, %esp
pushl %eax
call PyObject_Malloc
addl $16, %esp
testl %eax, %eax
je .L214
movl %esi, %edx
movl %eax, %edi
movl %ebx, %esi
cmpl $4, %edx
jae .L216
.L208:
xorl %ecx, %ecx
testb $2, %dl
je .L211
movw (%esi), %cx
movw %cx, (%edi)
movl $2, %ecx
.L211:
andl $1, %edx
je .L212
movb (%esi,%ecx), %dl
movb %dl, (%edi,%ecx)
.L212:
subl $12, %esp
pushl %ebx
movl %eax, 28(%esp)
call PyObject_Free
addl $16, %esp
movl 12(%esp), %eax
movl %eax, %ebx
movl %ebx, %eax
addl $16, %esp
popl %ebx
popl %esi
popl %edi
ret
.p2align 4,,15
.L205:
testl %eax, %eax
jne .L217
subl $8, %esp
pushl $1
pushl %ebx
call realloc
addl $16, %esp
testl %eax, %eax
cmovne %eax, %ebx
.L207:
movl %ebx, %eax
addl $16, %esp
popl %ebx
popl %esi
popl %edi
ret
.p2align 4,,15
.L217:
movl %eax, 36(%esp)
movl %ebx, 32(%esp)
addl $16, %esp
popl %ebx
popl %esi
popl %edi
jmp realloc
.p2align 4,,15
.L214:
xorl %ebx, %ebx
jmp .L207
.p2align 4,,15
.L216:
testb $1, %al
jne .L218
.L209:
testl $2, %edi
jne .L219
.L210:
movl %edx, %ecx
shrl $2, %ecx
rep movsl
jmp .L208
.p2align 4,,15
.L215:
movl %eax, 32(%esp)
addl $16, %esp
popl %ebx
popl %esi
popl %edi
jmp PyObject_Malloc
.L219:
movw (%esi), %cx
movw %cx, (%edi)
addl $2, %edi
addl $2, %esi
subl $2, %edx
jmp .L210
.L218:
movb (%ebx), %cl
movb %cl, (%eax)
leal 1(%eax), %edi
leal 1(%ebx), %esi
decl %edx
jmp .L209
.size PyObject_Realloc, .-PyObject_Realloc
.p2align 4,,15
.globl RPython_StartupCode
.type RPython_StartupCode, @function
RPython_StartupCode:
pushl %edi
pushl %esi
pushl %ebx
call pypy_g_frameworkgc_setup
xorl %eax, %eax
movl $2146435072, %edx
movl %eax, pypy_g_pypy_objspace_std_floatobject_W_FloatObject+8
movl %edx, pypy_g_pypy_objspace_std_floatobject_W_FloatObject+12
xorl %ecx, %ecx
movl $-1048576, %ebx
movl %ecx, pypy_g_tuple2_1433+4
movl %ebx, pypy_g_tuple2_1433+8
movl %ecx, pypy_g_tuple2_1434+4
movl %ebx, pypy_g_tuple2_1434+8
movl %ecx, pypy_g_tuple2_1435+4
movl %ebx, pypy_g_tuple2_1435+8
movl %ecx, pypy_g_tuple2_1436+4
movl %ebx, pypy_g_tuple2_1436+8
movl %ecx, pypy_g_tuple2_1437+4
movl %ebx, pypy_g_tuple2_1437+8
xorl %esi, %esi
movl $2146959360, %edi
movl %esi, pypy_g_tuple2_1437+12
movl %edi, pypy_g_tuple2_1437+16
movl %ecx, pypy_g_tuple2_1438+4
movl %ebx, pypy_g_tuple2_1438+8
movl %ecx, pypy_g_tuple2_1440+4
movl %ebx, pypy_g_tuple2_1440+8
movl %esi, pypy_g_tuple2_1441+4
movl %edi, pypy_g_tuple2_1441+8
movl %esi, pypy_g_tuple2_1441+12
movl %edi, pypy_g_tuple2_1441+16
movl %eax, pypy_g_tuple2_1444+4
movl %edx, pypy_g_tuple2_1444+8
movl %eax, pypy_g_tuple2_1447+4
movl %edx, pypy_g_tuple2_1447+8
movl %eax, pypy_g_tuple2_1448+4
movl %edx, pypy_g_tuple2_1448+8
movl %eax, pypy_g_tuple2_1449+4
movl %edx, pypy_g_tuple2_1449+8
movl %eax, pypy_g_tuple2_1450+4
movl %edx, pypy_g_tuple2_1450+8
movl %eax, pypy_g_tuple2_1451+4
movl %edx, pypy_g_tuple2_1451+8
movl %eax, pypy_g_tuple2_1452+4
movl %edx, pypy_g_tuple2_1452+8
movl %esi, pypy_g_tuple2_1452+12
movl %edi, pypy_g_tuple2_1452+16
movl %esi, pypy_g_tuple2_1453+4
movl %edi, pypy_g_tuple2_1453+8
movl %esi, pypy_g_tuple2_1454+4
movl %edi, pypy_g_tuple2_1454+8
movl %esi, pypy_g_tuple2_1457+12
movl %edi, pypy_g_tuple2_1457+16
movl %eax, pypy_g_tuple2_1458+4
movl %edx, pypy_g_tuple2_1458+8
movl %eax, pypy_g_tuple2_1459+4
movl %edx, pypy_g_tuple2_1459+8
movl %eax, pypy_g_tuple2_1460+4
movl %edx, pypy_g_tuple2_1460+8
movl %eax, pypy_g_tuple2_1461+4
movl %edx, pypy_g_tuple2_1461+8
movl %esi, pypy_g_tuple2_1468+12
movl %edi, pypy_g_tuple2_1468+16
movl %eax, pypy_g_tuple2_1469+4
movl %edx, pypy_g_tuple2_1469+8
movl %ecx, pypy_g_tuple2_1469+12
movl %ebx, pypy_g_tuple2_1469+16
movl %ecx, pypy_g_tuple2_1470+12
movl %ebx, pypy_g_tuple2_1470+16
movl %eax, pypy_g_tuple2_1471+12
movl %edx, pypy_g_tuple2_1471+16
movl %eax, pypy_g_tuple2_1472+4
movl %edx, pypy_g_tuple2_1472+8
movl %eax, pypy_g_tuple2_1472+12
movl %edx, pypy_g_tuple2_1472+16
movl %esi, pypy_g_tuple2_1473+4
movl %edi, pypy_g_tuple2_1473+8
movl %eax, pypy_g_tuple2_1473+12
movl %edx, pypy_g_tuple2_1473+16
movl %eax, pypy_g_tuple2_1474+12
movl %edx, pypy_g_tuple2_1474+16
movl %eax, pypy_g_tuple2_1475+12
movl %edx, pypy_g_tuple2_1475+16
movl %ecx, pypy_g_tuple2_1476+12
movl %ebx, pypy_g_tuple2_1476+16
movl %ecx, pypy_g_tuple2_1477+12
movl %ebx, pypy_g_tuple2_1477+16
movl %eax, pypy_g_tuple2_1478+12
movl %edx, pypy_g_tuple2_1478+16
movl %ecx, pypy_g_tuple2_1479+12
movl %ebx, pypy_g_tuple2_1479+16
movl %esi, pypy_g_tuple2_1482+12
movl %edi, pypy_g_tuple2_1482+16
movl %eax, pypy_g_tuple2_1483+12
movl %edx, pypy_g_tuple2_1483+16
movl %ecx, pypy_g_tuple2_1484+12
movl %ebx, pypy_g_tuple2_1484+16
movl %esi, pypy_g_tuple2_1485+4
movl %edi, pypy_g_tuple2_1485+8
movl %ecx, pypy_g_tuple2_1485+12
movl %ebx, pypy_g_tuple2_1485+16
movl %ecx, pypy_g_tuple2_1486+4
movl %ebx, pypy_g_tuple2_1486+8
movl %ecx, pypy_g_tuple2_1487+4
movl %ebx, pypy_g_tuple2_1487+8
xorl %eax, %eax
popl %ebx
popl %esi
popl %edi
ret
.size RPython_StartupCode, .-RPython_StartupCode
.section .rodata.str1.1
.LC30:
.string "out of memory"
.section .rodata.str1.4
.align 4
.LC31:
.string "Fatal error during initialization: %s\n"
.text
.p2align 4,,15
.globl main
.type main, @function
main:
leal 4(%esp), %ecx
andl $-16, %esp
pushl -4(%ecx)
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
pushl %ebx
pushl %ecx
subl $40, %esp
movl (%ecx), %eax
movl %eax, -32(%ebp)
movl 4(%ecx), %ecx
movl %ecx, -40(%ebp)
call RPython_StartupCode
testl %eax, %eax
jne .L222
subl $12, %esp
movl -32(%ebp), %edi
pushl %edi
call pypy_g__RPyListOfString_New__Signed
movl %eax, -36(%ebp)
call pypy_g_RPyExceptionOccurred
addl $16, %esp
testb %al, %al
jne .L230
movl -32(%ebp), %esi
testl %esi, %esi
jle .L223
movl $0, -28(%ebp)
movl -28(%ebp), %edx
.p2align 4,,15
.L227:
movl -40(%ebp), %eax
movl (%eax,%edx,4), %esi
subl $12, %esp
pushl %esi
call strlen
movl %eax, %ebx
movl %eax, (%esp)
call pypy_g_RPyString_New__Signed
movl %eax, %edx
leal 12(%eax), %edi
cmpl $4, %ebx
jb .L224
movl %ebx, %ecx
shrl $2, %ecx
rep movsl
.L224:
xorl %eax, %eax
testb $2, %bl
je .L225
movw (%esi), %ax
movw %ax, (%edi)
movl $2, %eax
.L225:
andl $1, %ebx
je .L226
movb (%esi,%eax), %cl
movb %cl, (%edi,%eax)
.L226:
movl %edx, -44(%ebp)
call pypy_g_RPyExceptionOccurred
addl $16, %esp
testb %al, %al
movl -44(%ebp), %edx
jne .L230
pushl %ebx
pushl %edx
movl -28(%ebp), %ecx
pushl %ecx
movl -36(%ebp), %edx
pushl %edx
call pypy_g__RPyListOfString_SetItem__listPtr_Signed_rpy_str
incl -28(%ebp)
addl $16, %esp
movl -28(%ebp), %edx
cmpl %edx, -32(%ebp)
jg .L227
.L223:
subl $12, %esp
movl -36(%ebp), %eax
pushl %eax
call pypy_g_entry_point
movl %eax, %ebx
call pypy_g_RPyExceptionOccurred
addl $16, %esp
testb %al, %al
jne .L232
movl %ebx, %eax
leal -16(%ebp), %esp
popl %ecx
popl %ebx
popl %esi
popl %edi
popl %ebp
leal -4(%ecx), %esp
ret
.p2align 4,,15
.L232:
call pypy_debug_traceback_print
call pypy_g_RPyFetchExceptionType
pushl %edi
movl 12(%eax), %eax
addl $4, %eax
pushl %eax
pushl $.LC16
movl stderr, %esi
pushl %esi
call fprintf
call abort
.L230:
movl $.LC30, %eax
.L222:
pushl %ebx
pushl %eax
pushl $.LC31
pushl stderr
call fprintf
call abort
.size main, .-main
.globl pypysig_counter
.bss
.align 16
.type pypysig_counter, @object
.size pypysig_counter, 4
pypysig_counter:
.zero 4
.globl _LLstacktoobig_stack_start
.align 16
.type _LLstacktoobig_stack_start, @object
.size _LLstacktoobig_stack_start, 4
_LLstacktoobig_stack_start:
.zero 4
.globl stack_direction
.align 16
.type stack_direction, @object
.size stack_direction, 4
stack_direction:
.zero 4
.globl _RPyString_dump
.align 16
.type _RPyString_dump, @object
.size _RPyString_dump, 4
_RPyString_dump:
.zero 4
.globl pypydtcount
.align 16
.type pypydtcount, @object
.size pypydtcount, 4
pypydtcount:
.zero 4
.globl buflen
.data
.align 16
.type buflen, @object
.size buflen, 4
buflen:
.long 120
.globl start_tls_key
.section .tbss,"awT", at nobits
.align 16
.type start_tls_key, @object
.size start_tls_key, 4
start_tls_key:
.zero 4
.comm pypy_debug_tracebacks,1024,32
.comm buffer,120,32
.local narenas
.comm narenas,4,16
.local arenas
.comm arenas,4,16
.local freepools
.comm freepools,4,16
.data
.align 32
.type usedpools, @object
.size usedpools, 256
usedpools:
.long usedpools-8
.long usedpools-8
.long usedpools
.long usedpools
.long usedpools+8
.long usedpools+8
.long usedpools+16
.long usedpools+16
.long usedpools+24
.long usedpools+24
.long usedpools+32
.long usedpools+32
.long usedpools+40
.long usedpools+40
.long usedpools+48
.long usedpools+48
.long usedpools+56
.long usedpools+56
.long usedpools+64
.long usedpools+64
.long usedpools+72
.long usedpools+72
.long usedpools+80
.long usedpools+80
.long usedpools+88
.long usedpools+88
.long usedpools+96
.long usedpools+96
.long usedpools+104
.long usedpools+104
.long usedpools+112
.long usedpools+112
.long usedpools+120
.long usedpools+120
.long usedpools+128
.long usedpools+128
.long usedpools+136
.long usedpools+136
.long usedpools+144
.long usedpools+144
.long usedpools+152
.long usedpools+152
.long usedpools+160
.long usedpools+160
.long usedpools+168
.long usedpools+168
.long usedpools+176
.long usedpools+176
.long usedpools+184
.long usedpools+184
.long usedpools+192
.long usedpools+192
.long usedpools+200
.long usedpools+200
.long usedpools+208
.long usedpools+208
.long usedpools+216
.long usedpools+216
.long usedpools+224
.long usedpools+224
.long usedpools+232
.long usedpools+232
.long usedpools+240
.long usedpools+240
.section .rodata
.type __PRETTY_FUNCTION__.254929, @object
.size __PRETTY_FUNCTION__.254929, 14
__PRETTY_FUNCTION__.254929:
.string "PyObject_Free"
.local nfreepools
.comm nfreepools,4,16
.local arenabase
.comm arenabase,4,16
.type __PRETTY_FUNCTION__.254917, @object
.size __PRETTY_FUNCTION__.254917, 16
__PRETTY_FUNCTION__.254917:
.string "PyObject_Malloc"
.local maxarenas
.comm maxarenas,4,16
.type __PRETTY_FUNCTION__.254906, @object
.size __PRETTY_FUNCTION__.254906, 10
__PRETTY_FUNCTION__.254906:
.string "new_arena"
.data
.align 16
.type wakeup_fd, @object
.size wakeup_fd, 4
wakeup_fd:
.long -1
.local pypysig_occurred
.comm pypysig_occurred,4,16
.local pypysig_flags
.comm pypysig_flags,65,32
.local _pypythread_stacksize
.comm _pypythread_stacksize,4,16
.section .rodata.cst8,"aM", at progbits,8
.align 8
.LC7:
.long 0
.long 0
.section .rodata.cst16,"aM", at progbits,16
.align 16
.LC8:
.long 0
.long -2147483648
.long 0
.long 0
.section .rodata.cst8
.align 8
.LC9:
.long 0
.long 1077936128
.ident "GCC: (GNU) 4.5.2"
.section .note.GNU-stack,"", at progbits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110512/2bb366eb/attachment-0001.pgp>
More information about the pypy-dev
mailing list