summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-12-31 00:22:53 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-12-31 00:22:53 +0000
commite90473222229e1aee4011ddcd863ca4451320fd9 (patch)
tree63650bc2f5baeb794b4cf2a8ac4a6031391f4720 /apps
parent68ae800d2d3781751a24c7decf53ca26f79f8095 (diff)
downloadrockbox-e90473222229e1aee4011ddcd863ca4451320fd9.zip
rockbox-e90473222229e1aee4011ddcd863ca4451320fd9.tar.gz
rockbox-e90473222229e1aee4011ddcd863ca4451320fd9.tar.bz2
rockbox-e90473222229e1aee4011ddcd863ca4451320fd9.tar.xz
fix flac on ARM platforms which don't use iram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11869 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libffmpegFLAC/arm.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/arm.S b/apps/codecs/libffmpegFLAC/arm.S
index 39c4b36..972467f 100644
--- a/apps/codecs/libffmpegFLAC/arm.S
+++ b/apps/codecs/libffmpegFLAC/arm.S
@@ -16,14 +16,20 @@
* KIND, either express or implied.
*
****************************************************************************/
-
+
+#include "config.h"
+
/* The following is an assembler optimised version of the LPC filtering
routines needed for FLAC decoding. It is optimised for use with ARM
processors.
All LPC filtering up to order 9 is done in specially optimised unrolled
loops, while every order above this is handled by a slower default routine.
*/
+#if USE_IRAM
.section .icode,"ax",%progbits
+#else
+ .section .text
+#endif
.global lpc_decode_arm
lpc_decode_arm:
stmdb sp!, { r4-r11, lr }