From b4581b1c238bd0f5f48d8811dfd879e4d7ae2a3a Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sat, 9 Jun 2001 18:46:39 +0000 Subject: forgot one file CVS patchset: 138 CVS date: 2001/06/09 18:46:39 --- src/libw32dll/wine/stubs.s | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/libw32dll/wine/stubs.s (limited to 'src') diff --git a/src/libw32dll/wine/stubs.s b/src/libw32dll/wine/stubs.s new file mode 100644 index 000000000..519eefa58 --- /dev/null +++ b/src/libw32dll/wine/stubs.s @@ -0,0 +1,36 @@ + .file "stubs.c" + .version "01.01" +gcc2_compiled.: +.section .rodata +.LC0: + .string "Called unk_%s\n" +.text + .align 4 +.globl unk_exp1 + .type unk_exp1,@function +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 + jmp .L1 + .align 4 +.L1: + leave + ret +.Lfe1: + .size unk_exp1,.Lfe1-unk_exp1 + .ident "GCC: (GNU) egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)" -- cgit v1.2.3