Avoid a division by zero and thus a linker crash in SEGMENT_START script
builtin function handling, by not checking the value supplied with a
`-T' command-line override against the maximum page size if that has not
been set.
ld/
* ldexp.c (fold_binary): Check that `config.maxpagesize' is
non-zero before using it as a divisor.
+2018-09-14 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * ldexp.c (fold_binary): Check that `config.maxpagesize' is
+ non-zero before using it as a divisor.
+
2018-09-03 Nick Clifton <nickc@redhat.com>
* po/fi.po: Updated Finnish translation.
{
if (!seg->used
&& config.magic_demand_paged
+ && config.maxpagesize != 0
&& (seg->value % config.maxpagesize) != 0)
einfo (_("%P: warning: address of `%s' "
"isn't multiple of maximum page size\n"),