mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
r20124 broke codecs on targets without IRAM such as Gigabeat F. Behavior should be identical to r20123 on all sim builds and targets and apply a more correct fix for OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20135 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b61f0c6884
commit
cf7a71c302
1 changed files with 6 additions and 2 deletions
|
@ -624,7 +624,6 @@
|
||||||
#define ICONST_ATTR __attribute__ ((section(".irodata")))
|
#define ICONST_ATTR __attribute__ ((section(".irodata")))
|
||||||
#define IDATA_ATTR __attribute__ ((section(".idata")))
|
#define IDATA_ATTR __attribute__ ((section(".idata")))
|
||||||
#define IBSS_ATTR __attribute__ ((section(".ibss")))
|
#define IBSS_ATTR __attribute__ ((section(".ibss")))
|
||||||
#define DATA_ATTR __attribute__ ((section(".data")))
|
|
||||||
#define USE_IRAM
|
#define USE_IRAM
|
||||||
#if CONFIG_CPU != SH7034
|
#if CONFIG_CPU != SH7034
|
||||||
#define PLUGIN_USE_IRAM
|
#define PLUGIN_USE_IRAM
|
||||||
|
@ -642,10 +641,15 @@
|
||||||
#define ICONST_ATTR
|
#define ICONST_ATTR
|
||||||
#define IDATA_ATTR
|
#define IDATA_ATTR
|
||||||
#define IBSS_ATTR
|
#define IBSS_ATTR
|
||||||
#define DATA_ATTR
|
|
||||||
#define STATICIRAM static
|
#define STATICIRAM static
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(SIMULATOR) && defined(__APPLE__)
|
||||||
|
#define DATA_ATTR __attribute__ ((section(".section __DATA, __data")))
|
||||||
|
#else
|
||||||
|
#define DATA_ATTR __attribute__ ((section(".data")))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef IRAM_LCDFRAMEBUFFER
|
#ifndef IRAM_LCDFRAMEBUFFER
|
||||||
/* if the LCD framebuffer has not been moved to IRAM, define it empty here */
|
/* if the LCD framebuffer has not been moved to IRAM, define it empty here */
|
||||||
#define IRAM_LCDFRAMEBUFFER
|
#define IRAM_LCDFRAMEBUFFER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue