annotate loader/stubs.s @ 6384:f0b933918a22

Support for playing audio cds using cdparanoia. Include a raw audio demuxer wich can be used for other purpose.
author albeu
date Tue, 11 Jun 2002 14:29:51 +0000
parents a306c3258e4d
children ebc1cd8014a5
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"
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 .align 4
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