summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/app.lds35
1 files changed, 18 insertions, 17 deletions
diff --git a/firmware/target/arm/as3525/app.lds b/firmware/target/arm/as3525/app.lds
index c2d3ed8..bf8e68f 100644
--- a/firmware/target/arm/as3525/app.lds
+++ b/firmware/target/arm/as3525/app.lds
@@ -40,6 +40,7 @@ SECTIONS
.text :
{
+ _loadaddress = .;
_textstart = .;
*(.text)
*(.text*)
@@ -70,23 +71,6 @@ SECTIONS
_initdata_end =.;
- .stack (NOLOAD) :
- {
- *(.stack)
- stackbegin = .;
- . += 0x2000;
- stackend = .;
- } > DRAM
-
- .bss (NOLOAD) :
- {
- _edata = .;
- *(.bss*)
- *(COMMON)
- . = ALIGN(0x4);
- _end = .;
- } > DRAM
-
.vectors IRAMORIG:
{
_vectors_start = .;
@@ -116,6 +100,23 @@ SECTIONS
_iramcopy = LOADADDR(.iram);
+ .stack (NOLOAD) :
+ {
+ *(.stack)
+ stackbegin = .;
+ . += 0x2000;
+ stackend = .;
+ } > DRAM
+
+ .bss (NOLOAD) :
+ {
+ _edata = .;
+ *(.bss*)
+ *(COMMON)
+ . = ALIGN(0x4);
+ _end = .;
+ } > DRAM
+
.audiobuf (NOLOAD) :
{
. = ALIGN(4);