mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
pcm-pp: revert r26756
FIQ/IRQ handlers can't be built with -mthumb, and the thumb case was buggy anyway (spotted by jhMikeS) : pc offset hadn't been adjusted git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26765 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5928862e61
commit
71c9521a87
1 changed files with 0 additions and 5 deletions
|
|
@ -74,12 +74,7 @@ void fiq_handler(void) ICODE_ATTR __attribute__((naked));
|
||||||
void fiq_handler(void)
|
void fiq_handler(void)
|
||||||
{
|
{
|
||||||
asm volatile (
|
asm volatile (
|
||||||
#if ARM_ARCH == 4 && defined(USE_THUMB)
|
|
||||||
"ldr r12, [pc, #-4] \n"
|
|
||||||
"bx r12 \n"
|
|
||||||
#else
|
|
||||||
"ldr pc, [pc, #-4] \n"
|
"ldr pc, [pc, #-4] \n"
|
||||||
#endif
|
|
||||||
"fiq_function: \n"
|
"fiq_function: \n"
|
||||||
".word 0 \n"
|
".word 0 \n"
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue