annotate loader/stubs.s @ 9228:5ef5179188ca

- ignore movi_end if reading from stdin - assume I-only stream if no index (buggy seekable avi is still better than non-seekable)
author arpi
date Sun, 02 Feb 2003 21:32:05 +0000
parents ebc1cd8014a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"
7107
ebc1cd8014a5 align -> balign patch by (Bj¸«Órn Sandell <biorn at dce dot chalmers dot se>)
michael
parents: 5741
diff changeset
3 .balign 4
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 .globl unk_exp1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 unk_exp1:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 pushl %ebp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 movl %esp,%ebp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 subl $4,%esp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 movl $1,-4(%ebp)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 movl -4(%ebp),%eax
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 movl %eax,%ecx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 movl %ecx,%edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 sall $4,%edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 subl %eax,%edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 leal 0(,%edx,2),%eax
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 movl %eax,%edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 addl $export_names,%edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 pushl %edx
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 pushl $.LC0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 call printf
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 addl $8,%esp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 xorl %eax,%eax
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 leave
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 ret
5741
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
25 .globl exp_EH_prolog
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
26 exp_EH_prolog:
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
27 pushl $0xff
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
28 pushl %eax
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
29 pushl %fs:0
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
30 movl %esp, %fs:0
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
31 movl 12(%esp), %eax
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
32 movl %ebp, 12(%esp)
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
33 leal 12(%esp), %ebp
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
34 pushl %eax
a306c3258e4d added _EH_prolog (needed by mss1 codec)
alex
parents: 1038
diff changeset
35 ret