]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
S12Z: Emit uninitialized data in the .bss segment
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 24 Jul 2018 10:58:41 +0000 (12:58 +0200)
committerAlan Modra <amodra@gmail.com>
Fri, 27 Jul 2018 01:58:59 +0000 (11:28 +0930)
* scripttempl/elfm9s12z.sc: Put input sections called .common
into the .bss segment.

ld/ChangeLog
ld/scripttempl/elfm9s12z.sc

index 1358f0201bc197a2d6836466dcad007ea9df99bf..61e2c6d643c065bd175f00f80d31753133fcd181 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
+       * scripttempl/elfm9s12z.sc: Put input sections called .common
+       into the .bss segment.
+
 2018-07-27  John Darrington  <john@darrington.wattle.id.au>
 
        * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
index a4a8d729e55824d6513207a605d4d4e3f67a0d3b..cf602b53dc170f1d4ad590550a6901a214e9d62b 100644 (file)
@@ -401,6 +401,7 @@ SECTIONS
     ${RELOCATING+__bss_start = .;}
     ${RELOCATING+*(.softregs)}
     ${RELOCATING+*(.sbss)}
+    ${RELOCATING+*(.common)}
     ${RELOCATING+*(.scommon)}
 
     *(.dynbss)