aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2018-07-24 12:58:40 +0200
committerAlan Modra <amodra@gmail.com>2018-07-27 11:28:59 +0930
commit5b73b52bccfc73172bc472c1e223f54f07a3e858 (patch)
tree1840145a33fde73c7f00ecc34843b73a8adcda0c /ld/scripttempl
parent2bb9bbe2e8faa7fd9ee156da0254605720eb16d6 (diff)
downloadgdb-5b73b52bccfc73172bc472c1e223f54f07a3e858.zip
gdb-5b73b52bccfc73172bc472c1e223f54f07a3e858.tar.gz
gdb-5b73b52bccfc73172bc472c1e223f54f07a3e858.tar.bz2
S12Z: Emit initialized data segment image.
* scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfm9s12z.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/elfm9s12z.sc b/ld/scripttempl/elfm9s12z.sc
index c39d270..a4a8d72 100644
--- a/ld/scripttempl/elfm9s12z.sc
+++ b/ld/scripttempl/elfm9s12z.sc
@@ -387,10 +387,10 @@ SECTIONS
${RELOCATING+${PRE_COMPUTE_DATA_SIZE}}
- /* .install ${RELOCATING-0}:
+ .install ${RELOCATING-0}:
{
- . = _data_image_end;
- } ${RELOCATING+ > ${TEXT_MEMORY}} */
+ . = __data_section_size;
+ } ${RELOCATING+ > ${TEXT_MEMORY}}
/* Relocation for some bss and data sections. */
${RELOCATING-${BSS_DATA_RELOC}}