[PATCH 5/8] M9S12Z: Emit uninitialized data in the .bss segment

John Darrington john@darrington.wattle.id.au
Mon Jul 16 14:01:00 GMT 2018


* 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



More information about the Binutils mailing list