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,11 +231,16 @@ SECTIONS
. = ALIGN(CACHEALIGN_SIZE); . = ALIGN(CACHEALIGN_SIZE);
*(.ncdata*) *(.ncdata*)
. = ALIGN(CACHEALIGN_SIZE); . = ALIGN(CACHEALIGN_SIZE);
} AT> PLUGIN_RAM /* EABI currently needs iramcopy defined here, otherwise .iram can sometimes
#endif have an incorrect load address, breaking codecs. */
#if defined(IRAMSIZE) #if defined(IRAMSIZE)
iramcopy = . - NOCACHE_BASE; 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 #endif
/DISCARD/ : /DISCARD/ :