mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
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:

committed by
Alan Modra

parent
5b73b52bcc
commit
fe57a8c9f5
@ -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>
|
2018-07-27 John Darrington <john@darrington.wattle.id.au>
|
||||||
|
|
||||||
* scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
|
* scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
|
||||||
|
@ -401,6 +401,7 @@ SECTIONS
|
|||||||
${RELOCATING+__bss_start = .;}
|
${RELOCATING+__bss_start = .;}
|
||||||
${RELOCATING+*(.softregs)}
|
${RELOCATING+*(.softregs)}
|
||||||
${RELOCATING+*(.sbss)}
|
${RELOCATING+*(.sbss)}
|
||||||
|
${RELOCATING+*(.common)}
|
||||||
${RELOCATING+*(.scommon)}
|
${RELOCATING+*(.scommon)}
|
||||||
|
|
||||||
*(.dynbss)
|
*(.dynbss)
|
||||||
|
Reference in New Issue
Block a user