We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b36467 commit a292deaCopy full SHA for a292dea
1 file changed
src/arch/x86_64/linker.ld
@@ -187,14 +187,7 @@ SECTIONS
187
LONG (0);
188
}
189
190
- /*
191
- * XXX: We need this padding because in solo5 initialization some variables
192
- * in the bss are set to non-zero values. So, without the padding the ELFs
193
- * symbol table would get modified.
194
- */
195
- . += 0x1000000;
196
-
197
- .bss :
+ .bss ALIGN(0x1000) :
198
{
199
_BSS_START_ = .;
200
*(.bss .bss.* .gnu.linkonce.b.*)
@@ -208,5 +201,4 @@ SECTIONS
208
201
PROVIDE (end = .);
209
202
PROVIDE (_ELF_END_ = .);
210
203
PROVIDE (_LOAD_END_ = .);
211
212
204
0 commit comments