From 57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 7 Sep 2018 20:26:59 +0200 Subject: Don't emit data_section_size when -r is specified * ld/scripttempl/elfm9s12z.sc (.install): Add RELOCATING+ qualifier. --- ld/scripttempl/elfm9s12z.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/scripttempl') diff --git a/ld/scripttempl/elfm9s12z.sc b/ld/scripttempl/elfm9s12z.sc index cf602b5..5553aeb 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. */ -- cgit v1.1