Some static data is only used by .init functions. Add .initdata to declare such data (otherwise section conflicts arise). For i.MX31, use INITDATA_ATTR in the appropriate places.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29008 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2011-01-08 20:42:51 +00:00
parent 17585a991c
commit 1b275d8ddb
5 changed files with 5 additions and 6 deletions

View file

@ -294,7 +294,7 @@
/*!
* Code download
*/
static __attribute__((aligned(4), section(".sdmacode")))
static __attribute__((aligned(4))) INITDATA_ATTR
const short sdma_code_2[RAM_CODE_SIZE_2] =
{
0x0870, 0x0011, 0x5010, 0xc0ec, 0x7d61, 0x5ac0, 0x5bc8, 0x5ef8,