diff --git a/ld/scripttempl/elfm9s12z.sc b/ld/scripttempl/elfm9s12z.sc index cf602b53dc..5553aeb7ca 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. */