summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-06-29 14:57:52 +0000
committerNils Wallménius <nils@rockbox.org>2010-06-29 14:57:52 +0000
commit7c716d6eac5c81085e1d79d8fd70cba7e066747a (patch)
treec8f3b50f0a9e4642cb3d6712286f9454aad3a788
parent5af120f1cb6269aac73bd3b3aa9665884508fc51 (diff)
downloadrockbox-7c716d6eac5c81085e1d79d8fd70cba7e066747a.tar.gz
rockbox-7c716d6eac5c81085e1d79d8fd70cba7e066747a.zip
Clean up a leftover preprocessor symbol and improve the workaround for the 'arm-elf and static functions in iram' quirk so it doesn't affect builds with eabi toolchain (only affects nano2g).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27176 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libtremor/config-tremor.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/codecs/libtremor/config-tremor.h b/apps/codecs/libtremor/config-tremor.h
index abed96533b..d6b2237960 100644
--- a/apps/codecs/libtremor/config-tremor.h
+++ b/apps/codecs/libtremor/config-tremor.h
@@ -19,14 +19,10 @@
19#endif 19#endif
20#endif 20#endif
21 21
22#ifndef ICODE_ATTR_TREMOR_MDCT
23#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
24#endif
25
26/* Workaround for gcc bug where all static functions are called with short 22/* Workaround for gcc bug where all static functions are called with short
27 calls */ 23 calls */
28#if !defined(ICODE_ATTR_TREMOR_NOT_MDCT) && (CONFIG_CPU==S5L8701) 24#if !defined(ICODE_ATTR_TREMOR_NOT_MDCT) && (CONFIG_CPU==S5L8701)
29#define STATICIRAM_NOT_MDCT 25#define STATICIRAM_NOT_MDCT STATICIRAM
30#else 26#else
31#define STATICIRAM_NOT_MDCT static 27#define STATICIRAM_NOT_MDCT static
32#endif 28#endif