Let's not rely on .init/.fini having relocs for the size sanity check.
This is mainly to squash reports of "my fuzzed object made ld hang".
{
/* Reverse-copy input section to output. */
- if (o->reloc_count != 0
- && (o->size * bed->s->int_rels_per_ext_rel
- != o->reloc_count * address_size))
+ if ((o->size & (address_size - 1)) != 0
+ || (o->reloc_count != 0
+ && (o->size * bed->s->int_rels_per_ext_rel
+ != o->reloc_count * address_size)))
{
_bfd_error_handler
/* xgettext:c-format */