Mercurial > mplayer.hg
annotate loader/stubs.s @ 3798:d1e3ad5bcd8f
fixed few segfaults, make parse_codec_cfg() return int
author | iive |
---|---|
date | Thu, 27 Dec 2001 18:38:10 +0000 |
parents | b36fb1ae4b53 |
children | a306c3258e4d |
rev | line source |
---|---|
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
1 .data |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
2 .LC0: .string "Called unk_%s\n" |
1 | 3 .align 4 |
4 .globl unk_exp1 | |
5 unk_exp1: | |
6 pushl %ebp | |
7 movl %esp,%ebp | |
8 subl $4,%esp | |
9 movl $1,-4(%ebp) | |
10 movl -4(%ebp),%eax | |
11 movl %eax,%ecx | |
12 movl %ecx,%edx | |
13 sall $4,%edx | |
14 subl %eax,%edx | |
15 leal 0(,%edx,2),%eax | |
16 movl %eax,%edx | |
17 addl $export_names,%edx | |
18 pushl %edx | |
19 pushl $.LC0 | |
20 call printf | |
21 addl $8,%esp | |
22 xorl %eax,%eax | |
23 leave | |
24 ret |