diff options
author | John Darrington <john@darrington.wattle.id.au> | 2018-09-07 20:26:59 +0200 |
---|---|---|
committer | John Darrington <john@darrington.wattle.id.au> | 2018-09-16 17:50:09 +0200 |
commit | 57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369 (patch) | |
tree | 6d6e0bc49c2e7737b8fd0a016bdbc9284103ed5a /ld/scripttempl | |
parent | 19f1fffecd5359a9858151154d3de848f20a5990 (diff) | |
download | gdb-57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369.zip gdb-57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369.tar.gz gdb-57d5aa265f50b8c8c1ebbe4e67285aa9f5a53369.tar.bz2 |
Don't emit data_section_size when -r is specified
* ld/scripttempl/elfm9s12z.sc (.install): Add RELOCATING+ qualifier.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elfm9s12z.sc | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |