Don't emit data_section_size when -r is specified

* ld/scripttempl/elfm9s12z.sc (.install): Add RELOCATING+ qualifier.
This commit is contained in:
John Darrington 2018-09-07 20:26:59 +02:00
parent 19f1fffecd
commit 57d5aa265f
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ SECTIONS
.install ${RELOCATING-0}:
{
. = __data_section_size;
${RELOCATING+. = __data_section_size;}
} ${RELOCATING+ > ${TEXT_MEMORY}}
/* Relocation for some bss and data sections. */