From: John Darrington Date: Fri, 7 Sep 2018 18:26:59 +0000 (+0200) Subject: Don't emit data_section_size when -r is specified X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369;p=binutils-gdb.git Don't emit data_section_size when -r is specified * ld/scripttempl/elfm9s12z.sc (.install): Add RELOCATING+ qualifier. --- diff --git a/ld/scripttempl/elfm9s12z.sc b/ld/scripttempl/elfm9s12z.sc index cf602b53dc1..5553aeb7caa 100644 --- a/ld/scripttempl/elfm9s12z.sc +++ b/ld/scripttempl/elfm9s12z.sc @@ -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. */