2001-06-05 18:40:44 +00:00
|
|
|
.data
|
|
|
|
.LC0: .string "Called unk_%s\n"
|
2002-08-28 00:24:27 +00:00
|
|
|
.balign 4
|
2001-02-24 20:28:24 +00:00
|
|
|
.globl unk_exp1
|
|
|
|
unk_exp1:
|
|
|
|
pushl %ebp
|
|
|
|
movl %esp,%ebp
|
|
|
|
subl $4,%esp
|
|
|
|
movl $1,-4(%ebp)
|
|
|
|
movl -4(%ebp),%eax
|
|
|
|
movl %eax,%ecx
|
|
|
|
movl %ecx,%edx
|
|
|
|
sall $4,%edx
|
|
|
|
subl %eax,%edx
|
|
|
|
leal 0(,%edx,2),%eax
|
|
|
|
movl %eax,%edx
|
|
|
|
addl $export_names,%edx
|
|
|
|
pushl %edx
|
|
|
|
pushl $.LC0
|
|
|
|
call printf
|
|
|
|
addl $8,%esp
|
|
|
|
xorl %eax,%eax
|
|
|
|
leave
|
|
|
|
ret
|
2002-04-21 00:30:44 +00:00
|
|
|
.globl exp_EH_prolog
|
|
|
|
exp_EH_prolog:
|
|
|
|
pushl $0xff
|
|
|
|
pushl %eax
|
|
|
|
pushl %fs:0
|
|
|
|
movl %esp, %fs:0
|
|
|
|
movl 12(%esp), %eax
|
|
|
|
movl %ebp, 12(%esp)
|
|
|
|
leal 12(%esp), %ebp
|
|
|
|
pushl %eax
|
|
|
|
ret
|