1
0
Fork 0
forked from len0rd/rockbox

Fix codec and plugin issues on ARM EABI caused by .iram sometimes being assigned an incorrect load address.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23674 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-11-20 07:38:57 +00:00
parent 6ec176cc8e
commit 19eb26a2d7

View file

@ -231,12 +231,17 @@ SECTIONS
. = ALIGN(CACHEALIGN_SIZE);
*(.ncdata*)
. = ALIGN(CACHEALIGN_SIZE);
} AT> PLUGIN_RAM
#endif
/* EABI currently needs iramcopy defined here, otherwise .iram can sometimes
have an incorrect load address, breaking codecs. */
#if defined(IRAMSIZE)
iramcopy = . - NOCACHE_BASE;
#endif
} AT> PLUGIN_RAM
/* This definition is used when NOCACHE_BASE is 0. The address offset bug only
seems to occur when the empty .ncdata is present. */
#elif defined(IRAMSIZE)
iramcopy = .;
#endif
/DISCARD/ :
{