@@ -102,14 +102,14 @@ SECTIONS
102
102
. = ALIGN (8 );
103
103
} >FLASH
104
104
105
- .ARM .extab (READONLY) : /* The "READONLY" keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
106
- {
105
+ .ARM.extab :
106
+ {
107
107
. = ALIGN (8 );
108
108
*(.ARM .extab * .gnu .linkonce .armextab .*)
109
109
. = ALIGN (8 );
110
110
} >FLASH
111
111
112
- .ARM (READONLY) : /* The "READONLY" keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
112
+ .ARM :
113
113
{
114
114
. = ALIGN (8 );
115
115
__exidx_start = .;
@@ -118,16 +118,16 @@ SECTIONS
118
118
. = ALIGN (8 );
119
119
} >FLASH
120
120
121
- .preinit_array (READONLY) : /* The "READONLY" keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
121
+ .preinit_array :
122
122
{
123
123
. = ALIGN (8 );
124
124
PROVIDE_HIDDEN (__preinit_array_start = .);
125
125
KEEP (*(.preinit_array *))
126
126
PROVIDE_HIDDEN (__preinit_array_end = .);
127
127
. = ALIGN (8 );
128
128
} >FLASH
129
-
130
- .init_array (READONLY) : /* The "READONLY" keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
129
+
130
+ .init_array :
131
131
{
132
132
. = ALIGN (8 );
133
133
PROVIDE_HIDDEN (__init_array_start = .);
@@ -137,7 +137,7 @@ SECTIONS
137
137
. = ALIGN (8 );
138
138
} >FLASH
139
139
140
- .fini_array (READONLY) : /* The "READONLY" keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
140
+ .fini_array :
141
141
142
142
{
143
143
. = ALIGN (8 );
@@ -152,7 +152,7 @@ SECTIONS
152
152
_sidata = LOADADDR (.data );
153
153
154
154
/* Initialized data sections goes into RAM, load LMA copy after code */
155
- .data :
155
+ .data :
156
156
{
157
157
. = ALIGN (8 );
158
158
_sdata = .; /* create a global symbol at data start */
@@ -165,12 +165,12 @@ SECTIONS
165
165
_edata = .; /* define a global symbol at data end */
166
166
} >RAM AT> FLASH
167
167
168
-
168
+
169
169
/* Uninitialized data section */
170
170
. = ALIGN (4 );
171
171
.bss :
172
172
{
173
- /* This is used by the startup in order to initialize the .bss secion */
173
+ /* This is used by the startup in order to initialize the .bss section */
174
174
_sbss = .; /* define a global symbol at bss start */
175
175
__bss_start__ = _sbss;
176
176
*(.bss )
@@ -193,7 +193,7 @@ SECTIONS
193
193
. = ALIGN (8 );
194
194
} >RAM
195
195
196
-
196
+
197
197
198
198
/* Remove information from the standard libraries */
199
199
/DISCARD/ :
@@ -204,5 +204,3 @@ SECTIONS
204
204
}
205
205
206
206
}
207
-
208
-
0 commit comments