From 800e538a58063276b643d1102d2e49d591b3df2d Mon Sep 17 00:00:00 2001 From: Thomas Winwood Date: Wed, 9 Jan 2019 03:38:25 +0000 Subject: [PATCH] Add .bss section to linker script --- linker.ld | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linker.ld b/linker.ld index 471cb0f..135b077 100644 --- a/linker.ld +++ b/linker.ld @@ -26,6 +26,11 @@ SECTIONS { __data_end = ABSOLUTE(.); } >iwram AT>rom = 0xff + .bss : { + *(.bss .bss.*); + . = ALIGN(4); + } >iwram + /* debugging sections */ /* Stabs */ .stab 0 : { *(.stab) }