diff options
author | Tom Ross <midgey@rockbox.org> | 2009-02-27 07:30:41 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2009-02-27 07:30:41 +0000 |
commit | 5d190bc13ca9af15d50029ecbcb5c178ed3f2b85 (patch) | |
tree | 5022441b453b7204e7cb06ce885c2684cd8463a6 /apps/codecs/codec_crt0.c | |
parent | 736f956700b1a0e29c9ebb533bf30212da6418ee (diff) | |
download | rockbox-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 'apps/codecs/codec_crt0.c')
-rw-r--r-- | apps/codecs/codec_crt0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/codec_crt0.c b/apps/codecs/codec_crt0.c index 09b6982246..ed313634e3 100644 --- a/apps/codecs/codec_crt0.c +++ b/apps/codecs/codec_crt0.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "codeclib.h" | 23 | #include "codeclib.h" |
24 | 24 | ||
25 | struct codec_api *ci __attribute__ ((section (".data"))); | 25 | struct codec_api *ci DATA_ATTR; |
26 | 26 | ||
27 | extern unsigned char iramcopy[]; | 27 | extern unsigned char iramcopy[]; |
28 | extern unsigned char iramstart[]; | 28 | extern unsigned char iramstart[]; |