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 /firmware/target/arm | |
parent | 7f0b7b720a804a379c34293fc71a08946eab4564 (diff) | |
download | rockbox-dd6f5cfb1e324fa38f1f05b7dc83e0cd1d694a81.tar.gz rockbox-dd6f5cfb1e324fa38f1f05b7dc83e0cd1d694a81.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.
Diffstat (limited to 'firmware/target/arm')
-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 | |||
47 | *(.rodata*) | 47 | *(.rodata*) |
48 | } > DRAM | 48 | } > DRAM |
49 | 49 | ||
50 | .dramcopyend (NOLOAD) : | ||
51 | { | ||
52 | _dramcopyend = .; | ||
53 | } > DRAM | ||
54 | |||
55 | .init ENDAUDIOADDR : | ||
56 | { | ||
57 | _initstart = .; | ||
58 | *(.init*) | ||
59 | _initend = .; | ||
60 | } AT> DRAM | ||
61 | |||
62 | _initcopy = LOADADDR(.init); | ||
63 | |||
64 | .itext : | 50 | .itext : |
65 | { | 51 | { |
66 | _iramstart = .; // always 0 | 52 | _iramstart = .; // always 0 |
@@ -82,7 +68,21 @@ SECTIONS | |||
82 | _iend = .; | 68 | _iend = .; |
83 | } > IRAM | 69 | } > IRAM |
84 | 70 | ||
85 | .stack _dramcopyend (NOLOAD) : | 71 | .init ENDAUDIOADDR : |
72 | { | ||
73 | _initstart = .; | ||
74 | *(.init*) | ||
75 | _initend = .; | ||
76 | } AT> DRAM | ||
77 | |||
78 | _initcopy = LOADADDR(.init); | ||
79 | |||
80 | .dramcopyend (NOLOAD) : | ||
81 | { | ||
82 | _dramcopyend = .; | ||
83 | } > DRAM | ||
84 | |||
85 | .stack (NOLOAD) : | ||
86 | { | 86 | { |
87 | *(.stack) | 87 | *(.stack) |
88 | stackbegin = .; | 88 | stackbegin = .; |