forked from len0rd/rockbox
Include divide-by-zero handling within plugins and codecs for ARM processors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ef8413eb4f
commit
b0befadad1
10 changed files with 65 additions and 6 deletions
|
@ -51,3 +51,10 @@ enum codec_status codec_start(void)
|
|||
#endif
|
||||
return codec_main();
|
||||
}
|
||||
|
||||
#ifdef CPU_ARM
|
||||
void __attribute__((naked)) __div0(void)
|
||||
{
|
||||
asm volatile("bx %0" : : "r"(ci->__div0));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue