This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 4/8] M9S12Z: Emit initialized data segment image.
- From: John Darrington <john at darrington dot wattle dot id dot au>
- To: binutils at sourceware dot org
- Cc: John Darrington <john at darrington dot wattle dot id dot au>
- Date: Mon, 16 Jul 2018 16:00:00 +0200
- Subject: [PATCH 4/8] M9S12Z: Emit initialized data segment image.
- References: <1531749604-17475-1-git-send-email-john@darrington.wattle.id.au>
* ld/scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
---
ld/scripttempl/elfm9s12z.sc | 6 +++---
1 file 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}}
--
2.1.4