From 00b6fa39402c8d383d8b79ce68b4674f61146961 Mon Sep 17 00:00:00 2001 From: James Benton Date: Wed, 30 May 2018 22:40:20 +0100 Subject: [PATCH] ld: Add (NOLOAD) to .bss section. --- share/wut.ld | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/wut.ld b/share/wut.ld index fea0e0b..b952fea 100644 --- a/share/wut.ld +++ b/share/wut.ld @@ -88,7 +88,7 @@ SECTIONS } > datamem __bss_start = .; - .bss ALIGN(64) : { + .bss ALIGN(64) (NOLOAD) : { *(.dynbss) *(.bss) *(.bss.*) @@ -111,7 +111,6 @@ SECTIONS *(.gnu.linkonce.sb2.*) __sbss2_end = .; - . = ALIGN(32); } __bss_end = .;