mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
17585a991c
commit
1b275d8ddb
5 changed files with 5 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue