From: Ken Raeburn Date: Wed, 16 Feb 1994 00:57:48 +0000 (+0000) Subject: (default_indirect_link_order): In assertion, compare link_order size field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66d9f06f6d4d2ba293055522ce5adc267a37158d;p=binutils-gdb.git (default_indirect_link_order): In assertion, compare link_order size field against cooked size, not raw size, of input section. --- diff --git a/bfd/linker.c b/bfd/linker.c index 3d8597e1665..f671f55d443 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -1989,7 +1989,7 @@ default_indirect_link_order (output_bfd, info, output_section, link_order) BFD_ASSERT (input_section->output_section == output_section); BFD_ASSERT (input_section->output_offset == link_order->offset); - BFD_ASSERT (bfd_section_size (input_bfd, input_section) == link_order->size); + BFD_ASSERT (input_section->_cooked_size == link_order->size); if (info->relocateable && input_section->reloc_count > 0