diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2012-01-13 16:08:17 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-21 18:39:19 +0100 |
| commit | cdb28789ec3577659aabfc097a9918d304cdb769 (patch) | |
| tree | 2f19b281999d8ef5be6143cd08b5096d0e3247af /apps/codecs | |
| parent | 34b0311d0eb906bd801cc1e9a329ed211b81496f (diff) | |
| download | rockbox-cdb28789ec3577659aabfc097a9918d304cdb769.zip rockbox-cdb28789ec3577659aabfc097a9918d304cdb769.tar.gz rockbox-cdb28789ec3577659aabfc097a9918d304cdb769.tar.bz2 rockbox-cdb28789ec3577659aabfc097a9918d304cdb769.tar.xz | |
libmad: Fix section attrs for hosted platforms.
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/libmad/mad_iram.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/libmad/mad_iram.h b/apps/codecs/libmad/mad_iram.h index 92abf62..ac0b64c 100644 --- a/apps/codecs/libmad/mad_iram.h +++ b/apps/codecs/libmad/mad_iram.h @@ -29,6 +29,12 @@ #include "config.h" +#if (CONFIG_PLATFORM&PLATFORM_HOSTED) +#define ICODE_SECTION_MPA_ARM .text +#define IBSS_SECTION_MPA_ARM .bss +#define ICODE_ATTR_MPA_SYNTH +#define ICONST_ATTR_MPA_HUFFMAN +#else /* Code performs slower in IRAM on PP502x and there is no space in mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for codecs */ @@ -46,4 +52,6 @@ #define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR #endif +#endif + #endif /* MAD_IRAM_H */ |