mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
libmad: Fix section attrs for hosted platforms.
This commit is contained in:
parent
34b0311d0e
commit
cdb28789ec
1 changed files with 8 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue