summaryrefslogtreecommitdiff
path: root/apps/codecs/codec_crt0.c
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 /apps/codecs/codec_crt0.c
parent736f956700b1a0e29c9ebb533bf30212da6418ee (diff)
downloadrockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.zip
rockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.tar.gz
rockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.tar.bz2
rockbox-5d190bc13ca9af15d50029ecbcb5c178ed3f2b85.tar.xz
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 'apps/codecs/codec_crt0.c')
-rw-r--r--apps/codecs/codec_crt0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/codec_crt0.c b/apps/codecs/codec_crt0.c
index 09b6982..ed31363 100644
--- a/apps/codecs/codec_crt0.c
+++ b/apps/codecs/codec_crt0.c
@@ -22,7 +22,7 @@
#include "config.h"
#include "codeclib.h"
-struct codec_api *ci __attribute__ ((section (".data")));
+struct codec_api *ci DATA_ATTR;
extern unsigned char iramcopy[];
extern unsigned char iramstart[];