libmad: Fix section attrs for hosted platforms.

This commit is contained in:
Thomas Martitz 2012-01-13 16:08:17 +01:00
parent 34b0311d0e
commit cdb28789ec

View file

@ -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 */