summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-05-08 15:58:09 +0200
committerNils Wallménius <nils@rockbox.org>2012-05-08 22:46:12 +0200
commit2dda258f99cb5575724d26a32077dad92fb8e181 (patch)
treed688a64b8860d0c6ddc845140657feff4c1c995e /firmware/export/config.h
parentb371b705c76eaa641325b517154a20c374ce41da (diff)
downloadrockbox-2dda258f99cb5575724d26a32077dad92fb8e181.tar.gz
rockbox-2dda258f99cb5575724d26a32077dad92fb8e181.zip
Remove STATICIRAM hack
It was only needed by the old arm toolchain that we no longer use or support. Change-Id: Id0e6c67477f8834a637079b03cde5fbf9da68b1c Reviewed-on: http://gerrit.rockbox.org/233 Reviewed-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index d85cf1e784..b642775b95 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -912,21 +912,11 @@ Lyre prototype 1 */
912 && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 && CONFIG_CPU != IMX233 912 && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 && CONFIG_CPU != IMX233
913#define PLUGIN_USE_IRAM 913#define PLUGIN_USE_IRAM
914#endif 914#endif
915#if defined(CPU_ARM) && !defined(__ARM_EABI__)
916/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
917 * when not compiling with -ffunction-sections, even when the function has
918 * a section attribute.
919 * This is fixed with eabi since all calls are short ones by default */
920#define STATICIRAM
921#else
922#define STATICIRAM static
923#endif
924#else 915#else
925#define ICODE_ATTR 916#define ICODE_ATTR
926#define ICONST_ATTR 917#define ICONST_ATTR
927#define IDATA_ATTR 918#define IDATA_ATTR
928#define IBSS_ATTR 919#define IBSS_ATTR
929#define STATICIRAM static
930#endif 920#endif
931 921
932#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \ 922#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \