From 04173cb858758ddf282116c47789b658a251a498 Mon Sep 17 00:00:00 2001 From: Matt Ickstadt Date: Wed, 19 Aug 2020 15:57:49 -0500 Subject: [PATCH] Fix __ebss not being placed after all .bss symbols --- link.x.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/link.x.in b/link.x.in index 01eb521c..bb5deea2 100644 --- a/link.x.in +++ b/link.x.in @@ -124,9 +124,9 @@ SECTIONS . = ALIGN(4); __sbss = .; *(.bss .bss.*); - . = ALIGN(4); /* 4-byte align the end (VMA) of this section */ - __ebss = .; } > RAM + . = ALIGN(4); /* 4-byte align the end (VMA) of this section */ + __ebss = .; /* ### .uninit */ .uninit (NOLOAD) : ALIGN(4)