summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-02-27 07:30:41 +0000
committerTom Ross <midgey@rockbox.org>2009-02-27 07:30:41 +0000
commit5d190bc13ca9af15d50029ecbcb5c178ed3f2b85 (patch)
tree5022441b453b7204e7cb06ce885c2684cd8463a6 /firmware
parent736f956700b1a0e29c9ebb533bf30212da6418ee (diff)
downloadrockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.tar.gz
rockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.zip
Mac doesn't handle placing variables in specific sections very well. Building the sim on OS X is now possible once again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20124 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index da35f79b33..963818551f 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -624,6 +624,7 @@
624#define ICONST_ATTR __attribute__ ((section(".irodata"))) 624#define ICONST_ATTR __attribute__ ((section(".irodata")))
625#define IDATA_ATTR __attribute__ ((section(".idata"))) 625#define IDATA_ATTR __attribute__ ((section(".idata")))
626#define IBSS_ATTR __attribute__ ((section(".ibss"))) 626#define IBSS_ATTR __attribute__ ((section(".ibss")))
627#define DATA_ATTR __attribute__ ((section(".data")))
627#define USE_IRAM 628#define USE_IRAM
628#if CONFIG_CPU != SH7034 629#if CONFIG_CPU != SH7034
629#define PLUGIN_USE_IRAM 630#define PLUGIN_USE_IRAM
@@ -641,6 +642,7 @@
641#define ICONST_ATTR 642#define ICONST_ATTR
642#define IDATA_ATTR 643#define IDATA_ATTR
643#define IBSS_ATTR 644#define IBSS_ATTR
645#define DATA_ATTR
644#define STATICIRAM static 646#define STATICIRAM static
645#endif 647#endif
646 648