aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2018-07-24 12:58:41 +0200
committerAlan Modra <amodra@gmail.com>2018-07-27 11:28:59 +0930
commitfe57a8c9f51516feb4fe999d2ff079157db42c26 (patch)
tree82ad7d64ae429dddd78ca8588e8a7c972e7914c7 /ld/scripttempl
parent5b73b52bccfc73172bc472c1e223f54f07a3e858 (diff)
downloadfsf-binutils-gdb-fe57a8c9f51516feb4fe999d2ff079157db42c26.zip
fsf-binutils-gdb-fe57a8c9f51516feb4fe999d2ff079157db42c26.tar.gz
fsf-binutils-gdb-fe57a8c9f51516feb4fe999d2ff079157db42c26.tar.bz2
S12Z: Emit uninitialized data in the .bss segment
* scripttempl/elfm9s12z.sc: Put input sections called .common into the .bss segment.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfm9s12z.sc1
1 files changed, 1 insertions, 0 deletions
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)