diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/app.lds | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/firmware/target/arm/as3525/app.lds b/firmware/target/arm/as3525/app.lds index 08b119eb3f..c2d3ed83ee 100644 --- a/firmware/target/arm/as3525/app.lds +++ b/firmware/target/arm/as3525/app.lds | |||
@@ -38,20 +38,11 @@ SECTIONS | |||
38 | { | 38 | { |
39 | loadaddress = 0x30000000; | 39 | loadaddress = 0x30000000; |
40 | 40 | ||
41 | .vectors DRAMORIG : | ||
42 | { | ||
43 | _vectorstart = .; | ||
44 | *(.vectors*); | ||
45 | *(.init.text) | ||
46 | . = ALIGN(0x4); | ||
47 | } > DRAM | ||
48 | |||
49 | .text : | 41 | .text : |
50 | { | 42 | { |
51 | _textstart = .; | 43 | _textstart = .; |
52 | *(.text) | 44 | *(.text) |
53 | *(.text*) | 45 | *(.text*) |
54 | *(.icode) | ||
55 | *(.glue_7) | 46 | *(.glue_7) |
56 | *(.glue_7t) | 47 | *(.glue_7t) |
57 | . = ALIGN(0x4); | 48 | . = ALIGN(0x4); |
@@ -63,14 +54,12 @@ SECTIONS | |||
63 | *(.rodata*) | 54 | *(.rodata*) |
64 | *(.rodata.str1.1) | 55 | *(.rodata.str1.1) |
65 | *(.rodata.str1.4) | 56 | *(.rodata.str1.4) |
66 | *(.irodata*) | ||
67 | . = ALIGN(0x4); | 57 | . = ALIGN(0x4); |
68 | } > DRAM | 58 | } > DRAM |
69 | 59 | ||
70 | .data : | 60 | .data : |
71 | { | 61 | { |
72 | *(.data*) | 62 | *(.data*) |
73 | *(.idata*) | ||
74 | . = ALIGN(0x4); | 63 | . = ALIGN(0x4); |
75 | } > DRAM | 64 | } > DRAM |
76 | 65 | ||
@@ -93,12 +82,40 @@ SECTIONS | |||
93 | { | 82 | { |
94 | _edata = .; | 83 | _edata = .; |
95 | *(.bss*) | 84 | *(.bss*) |
96 | *(.ibss*) | ||
97 | *(COMMON) | 85 | *(COMMON) |
98 | . = ALIGN(0x4); | 86 | . = ALIGN(0x4); |
99 | _end = .; | 87 | _end = .; |
100 | } > DRAM | 88 | } > DRAM |
101 | 89 | ||
90 | .vectors IRAMORIG: | ||
91 | { | ||
92 | _vectors_start = .; | ||
93 | *(.init.text) | ||
94 | } > IRAM AT > DRAM | ||
95 | |||
96 | _vectorscopy = LOADADDR(.vectors); | ||
97 | |||
98 | .ibss (NOLOAD) : | ||
99 | { | ||
100 | _iedata = .; | ||
101 | *(.qharray) | ||
102 | *(.ibss) | ||
103 | . = ALIGN(0x4); | ||
104 | _iend = .; | ||
105 | } > IRAM | ||
106 | |||
107 | .iram _iend : | ||
108 | { | ||
109 | _iramstart = .; | ||
110 | *(.icode) | ||
111 | *(.irodata) | ||
112 | *(.idata) | ||
113 | . = ALIGN(0x4); | ||
114 | _iramend = .; | ||
115 | } > IRAM AT> DRAM | ||
116 | |||
117 | _iramcopy = LOADADDR(.iram); | ||
118 | |||
102 | .audiobuf (NOLOAD) : | 119 | .audiobuf (NOLOAD) : |
103 | { | 120 | { |
104 | . = ALIGN(4); | 121 | . = ALIGN(4); |