S12Z: Emit uninitialized data in the .bss segment

* scripttempl/elfm9s12z.sc: Put input sections called .common
	into the .bss segment.
This commit is contained in:
John Darrington 2018-07-24 12:58:41 +02:00 committed by Alan Modra
parent 5b73b52bcc
commit fe57a8c9f5
2 changed files with 6 additions and 0 deletions

View 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.

View File

@ -401,6 +401,7 @@ SECTIONS
${RELOCATING+__bss_start = .;}
${RELOCATING+*(.softregs)}
${RELOCATING+*(.sbss)}
${RELOCATING+*(.common)}
${RELOCATING+*(.scommon)}
*(.dynbss)