summaryrefslogtreecommitdiffstats
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 */
&& CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 && CONFIG_CPU != IMX233
#define PLUGIN_USE_IRAM
#endif
-#if defined(CPU_ARM) && !defined(__ARM_EABI__)
-/* GCC quirk workaround: arm-elf-gcc treats static functions as short_call
- * when not compiling with -ffunction-sections, even when the function has
- * a section attribute.
- * This is fixed with eabi since all calls are short ones by default */
-#define STATICIRAM
-#else
-#define STATICIRAM static
-#endif
#else
#define ICODE_ATTR
#define ICONST_ATTR
#define IDATA_ATTR
#define IBSS_ATTR
-#define STATICIRAM static
#endif
#if (defined(CPU_PP) || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) || \