From 66d9f06f6d4d2ba293055522ce5adc267a37158d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 16 Feb 1994 00:57:48 +0000 Subject: [PATCH] (default_indirect_link_order): In assertion, compare link_order size field against cooked size, not raw size, of input section. --- bfd/linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2