diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-02-24 20:28:24 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-02-24 20:28:24 +0000 |
commit | d34041569e71fc9bd772354e94dc9d16061072a5 (patch) | |
tree | 8f481cae1c70f32d1756fbe5f39000577b73042d /loader/stubs.s | |
parent | e95a95ece09bac96bdfd37322f96c6f57ef79ebc (diff) | |
download | mpv-d34041569e71fc9bd772354e94dc9d16061072a5.tar.bz2 mpv-d34041569e71fc9bd772354e94dc9d16061072a5.tar.xz |
Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/stubs.s')
-rw-r--r-- | loader/stubs.s | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/loader/stubs.s b/loader/stubs.s new file mode 100644 index 0000000000..519eefa58f --- /dev/null +++ b/loader/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)" |