File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -114,19 +114,6 @@ SECTIONS
114
114
__erodata = .;
115
115
} > FLASH
116
116
117
- /* ### .gnu.sgstubs
118
- This section contains the TrustZone-M veneers put there by the Arm GNU linker. */
119
- /* Security Attribution Unit blocks must be 32 bytes aligned. */
120
- /* Note that this does cost up to 28 bytes of FLASH. */
121
- .gnu.sgstubs : ALIGN(32)
122
- {
123
- . = ALIGN(32);
124
- __veneer_base = .;
125
- *(.gnu.sgstubs*)
126
- . = ALIGN(32);
127
- __veneer_limit = .;
128
- } > FLASH
129
-
130
117
/* ## Sections in RAM */
131
118
/* ### .data */
132
119
.data : ALIGN(4)
@@ -145,6 +132,19 @@ SECTIONS
145
132
/* LMA of .data */
146
133
__sidata = LOADADDR(.data);
147
134
135
+ /* ### .gnu.sgstubs
136
+ This section contains the TrustZone-M veneers put there by the Arm GNU linker. */
137
+ /* Security Attribution Unit blocks must be 32 bytes aligned. */
138
+ /* Note that this pads the FLASH usage to 32 byte alignment. */
139
+ .gnu.sgstubs : ALIGN(32)
140
+ {
141
+ . = ALIGN(32);
142
+ __veneer_base = .;
143
+ *(.gnu.sgstubs*)
144
+ . = ALIGN(32);
145
+ __veneer_limit = .;
146
+ } > FLASH
147
+
148
148
/* ### .bss */
149
149
.bss (NOLOAD) : ALIGN(4)
150
150
{
You can’t perform that action at this time.
0 commit comments