From 5d190bc13ca9af15d50029ecbcb5c178ed3f2b85 Mon Sep 17 00:00:00 2001 From: Tom Ross Date: Fri, 27 Feb 2009 07:30:41 +0000 Subject: 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 --- firmware/export/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware') 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 @@ #define ICONST_ATTR __attribute__ ((section(".irodata"))) #define IDATA_ATTR __attribute__ ((section(".idata"))) #define IBSS_ATTR __attribute__ ((section(".ibss"))) +#define DATA_ATTR __attribute__ ((section(".data"))) #define USE_IRAM #if CONFIG_CPU != SH7034 #define PLUGIN_USE_IRAM @@ -641,6 +642,7 @@ #define ICONST_ATTR #define IDATA_ATTR #define IBSS_ATTR +#define DATA_ATTR #define STATICIRAM static #endif -- cgit v1.2.3