This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 5/8] M9S12Z: Emit uninitialized data in the .bss segment
- From: John Darrington <john at darrington dot wattle dot id dot au>
- To: binutils at sourceware dot org
- Cc: John Darrington <john at darrington dot wattle dot id dot au>
- Date: Mon, 16 Jul 2018 16:00:01 +0200
- Subject: [PATCH 5/8] M9S12Z: Emit uninitialized data in the .bss segment
- References: <1531749604-17475-1-git-send-email-john@darrington.wattle.id.au>
* ld/scripttempl/elfm9s12z.sc: Put input sections called .common into the .bss
segment
---
ld/scripttempl/elfm9s12z.sc | 1 +
1 file changed, 1 insertion(+)
diff --git a/ld/scripttempl/elfm9s12z.sc b/ld/scripttempl/elfm9s12z.sc
index a4a8d72..cf602b5 100644
--- a/ld/scripttempl/elfm9s12z.sc
+++ b/ld/scripttempl/elfm9s12z.sc
@@ -401,6 +401,7 @@ SECTIONS
${RELOCATING+__bss_start = .;}
${RELOCATING+*(.softregs)}
${RELOCATING+*(.sbss)}
+ ${RELOCATING+*(.common)}
${RELOCATING+*(.scommon)}
*(.dynbss)
--
2.1.4