diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-17 14:30:00 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-02-17 14:30:41 +0100 |
commit | dd6f5cfb1e324fa38f1f05b7dc83e0cd1d694a81 (patch) | |
tree | bee989693cb280750a07c40ae0ccdf298cd8952f | |
parent | 7f0b7b720a804a379c34293fc71a08946eab4564 (diff) | |
download | rockbox-dd6f5cf.tar.gz rockbox-dd6f5cf.tar.bz2 rockbox-dd6f5cf.zip |
Revert "imx233: fix app.lds to properly support INIT_ATTR"
This reverts commit 2b02cbe1ccbf2fcdcc164c6a4139f6666aed23c9.
For some reason it breaks the build, more investigation is needed.
-rw-r--r-- | firmware/target/arm/imx233/app.lds | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/firmware/target/arm/imx233/app.lds b/firmware/target/arm/imx233/app.lds index d4ca97ff5f..b378f9ea16 100644 --- a/firmware/target/arm/imx233/app.lds +++ b/firmware/target/arm/imx233/app.lds @@ -47,20 +47,6 @@ SECTIONS *(.rodata*) } > DRAM - .dramcopyend (NOLOAD) : - { - _dramcopyend = .; - } > DRAM - - .init ENDAUDIOADDR : - { - _initstart = .; - *(.init*) - _initend = .; - } AT> DRAM - - _initcopy = LOADADDR(.init); - .itext : { _iramstart = .; // always 0 @@ -82,7 +68,21 @@ SECTIONS _iend = .; } > IRAM - .stack _dramcopyend (NOLOAD) : + .init ENDAUDIOADDR : + { + _initstart = .; + *(.init*) + _initend = .; + } AT> DRAM + + _initcopy = LOADADDR(.init); + + .dramcopyend (NOLOAD) : + { + _dramcopyend = .; + } > DRAM + + .stack (NOLOAD) : { *(.stack) stackbegin = .; |