1
0
Fork 0
forked from len0rd/rockbox

Compile the simulators without special code & data sections. Fixes intermittent hangs/ crashes of mpa2wav.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6181 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-03-10 20:02:08 +00:00
parent 64d3470541
commit 657fdf26f2
4 changed files with 24 additions and 6 deletions

View file

@ -19,6 +19,15 @@
/* Various "helper functions" common to all the xxx2wav decoder plugins */
#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR)
#define ICODE_ATTR __attribute__ ((section(".icode")))
#define IDATA_ATTR __attribute__ ((section(".idata")))
#define USE_IRAM 1
#else
#define ICODE_ATTR
#define IDATA_ATTR
#endif
/* the main data structure of the program */
typedef struct {
int infile;