Skip to content

Commit 314717d

Browse files
committed
Clean Linker Script (cont)
1 parent 04061d7 commit 314717d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

game.lds

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ SECTIONS
2323
*(.data*)
2424
*(.bss*)
2525
*(COMMON*)
26+
. = ALIGN(4);
2627
PROVIDE(__ram_end__ = .);
2728
PROVIDE(end = .);
2829
}
2930

31+
/DISCARD/ :
32+
{
33+
*(.discard*)
34+
*(.comment*)
35+
}
3036

31-
32-
33-
/DISCARD/ :
34-
{
35-
*(.discard)
36-
*(.comment)
37-
}
3837
}

0 commit comments

Comments
 (0)