From dd6f5cfb1e324fa38f1f05b7dc83e0cd1d694a81 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 17 Feb 2014 14:30:00 +0100 Subject: 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. --- firmware/target/arm/imx233/app.lds | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'firmware/target') 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 = .; -- cgit v1.2.3