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 --- apps/codecs/codec_crt0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/codec_crt0.c') 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 @@ #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[]; -- cgit v1.2.3