Re: PR25244, --print-memory-usage, division by zero if MEMORY length is zero
authorAlan Modra <amodra@gmail.com>
Thu, 5 Dec 2019 10:59:21 +0000 (21:29 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 5 Dec 2019 11:01:16 +0000 (21:31 +1030)
commit2410edcd3176d81d0ab8d24afe69f0d59649f69e
tree7d45b2e2247bb0036400162735cb7d7d956924a8
parent2dc4b12fcd647b883223efeb308c277e629b369c
Re: PR25244, --print-memory-usage, division by zero if MEMORY length is zero

Do print the linefeed when length is zero.

PR 25244
* ldlang.c (lang_print_memory_usage): Correct last patch.
ld/ChangeLog
ld/ldlang.c