Skip to content

Commit 3de1a39

Browse files
committed
Reorder second stage sections
1 parent eef2109 commit 3de1a39

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

bios/second_stage/second-stage-link.ld

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ SECTIONS {
66
.start : {
77
*(.start)
88
}
9-
.rodata : {
9+
.text : ALIGN(512) {
10+
*(.text .text.*)
11+
}
12+
.rodata : ALIGN(512) {
1013
*(.rodata .rodata.*)
1114
}
12-
.text : {
13-
*(.text .text.*)
15+
.bss : ALIGN(512) {
16+
*(.bss .bss.*)
17+
}
18+
.data : ALIGN(512) {
19+
*(.data .data.*)
1420
}
1521

1622
. = ALIGN(512);

0 commit comments

Comments
 (0)