From fe3189a56f4e7a13f5a76c15b705122d1ccdc488 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Thu, 12 Nov 2015 09:42:45 -0800 Subject: cortex-m0: Ensure .bss.slow section is cleared. The .bss.slow input section needs to be included before __bss_end, otherwise it won't get cleared to zero. BUG=None BRANCH=None TEST=Build jerry. Verify that __bss_end is at the end of the .bss.slow section. TEST=make -j buildall tests Change-Id: I41d028ee166d05b34a889499cdcb0254341be1b6 Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/312404 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Randall Spangler --- core/cortex-m0/ec.lds.S | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S index 4bf9865136..10f31953d8 100644 --- a/core/cortex-m0/ec.lds.S +++ b/core/cortex-m0/ec.lds.S @@ -181,6 +181,7 @@ SECTIONS *(.bss.system_stack) /* Rest of .bss takes care of its own alignment */ *(.bss) + *(.bss.slow) . = ALIGN(4); __bss_end = .; } > IRAM -- cgit v1.2.1