Skip to content

Commit a9ea024

Browse files
author
Pavel Revak
committed
correct align inside .text section
1 parent 3a31e71 commit a9ea024

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ld/_flash.ld

+3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ SECTIONS {
55
KEEP(*(.vectors))
66
KEEP(*(.vectors*))
77
KEEP(*(.text))
8+
. = ALIGN(4);
89
*(.text*)
10+
. = ALIGN(4);
911
KEEP(*(.rodata))
1012
*(.rodata*)
13+
. = ALIGN(4);
1114
} >FLASH
1215

1316
.init_array ALIGN(4): {

0 commit comments

Comments
 (0)