Skip to content

Commit 7d9b601

Browse files
ArcaneNibbledlech
authored andcommitted
pbio/platform/ev3/platform.ld: Ensure .bss is NOLOAD
Otherwise the recent addition of the .dma section defaults to PROGBITS and causes the entire .bss section to be filled with 0s *on disk*, thus bloating the firmware.elf file.
1 parent 36e03d2 commit 7d9b601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/platform/ev3/platform.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ SECTIONS
5959
*(.data.*)
6060
} > DDR
6161

62-
.bss :
62+
.bss (NOLOAD) :
6363
{
6464
. = ALIGN(4);
6565
_bss_start = .;

0 commit comments

Comments
 (0)