summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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 c2d3ed83ee..bf8e68f048 100644
--- a/firmware/target/arm/as3525/app.lds
+++ b/firmware/target/arm/as3525/app.lds
@@ -40,6 +40,7 @@ SECTIONS
40 40
41 .text : 41 .text :
42 { 42 {
43 _loadaddress = .;
43 _textstart = .; 44 _textstart = .;
44 *(.text) 45 *(.text)
45 *(.text*) 46 *(.text*)
@@ -70,23 +71,6 @@ SECTIONS
70 71
71 _initdata_end =.; 72 _initdata_end =.;
72 73
73 .stack (NOLOAD) :
74 {
75 *(.stack)
76 stackbegin = .;
77 . += 0x2000;
78 stackend = .;
79 } > DRAM
80
81 .bss (NOLOAD) :
82 {
83 _edata = .;
84 *(.bss*)
85 *(COMMON)
86 . = ALIGN(0x4);
87 _end = .;
88 } > DRAM
89
90 .vectors IRAMORIG: 74 .vectors IRAMORIG:
91 { 75 {
92 _vectors_start = .; 76 _vectors_start = .;
@@ -116,6 +100,23 @@ SECTIONS
116 100
117 _iramcopy = LOADADDR(.iram); 101 _iramcopy = LOADADDR(.iram);
118 102
103 .stack (NOLOAD) :
104 {
105 *(.stack)
106 stackbegin = .;
107 . += 0x2000;
108 stackend = .;
109 } > DRAM
110
111 .bss (NOLOAD) :
112 {
113 _edata = .;
114 *(.bss*)
115 *(COMMON)
116 . = ALIGN(0x4);
117 _end = .;
118 } > DRAM
119
119 .audiobuf (NOLOAD) : 120 .audiobuf (NOLOAD) :
120 { 121 {
121 . = ALIGN(4); 122 . = ALIGN(4);