From fe57a8c9f51516feb4fe999d2ff079157db42c26 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 24 Jul 2018 12:58:41 +0200 Subject: S12Z: Emit uninitialized data in the .bss segment * scripttempl/elfm9s12z.sc: Put input sections called .common into the .bss segment. --- ld/scripttempl/elfm9s12z.sc | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/scripttempl') 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) -- cgit v1.1