diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-02-16 00:57:48 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-02-16 00:57:48 +0000 |
commit | 66d9f06f6d4d2ba293055522ce5adc267a37158d (patch) | |
tree | db3b26ec0c252de848c7ce44aa836a9f496a2a0c /bfd/linker.c | |
parent | aaa486c3d024c32be34313bb9ae30c4acc232d89 (diff) | |
download | gdb-66d9f06f6d4d2ba293055522ce5adc267a37158d.zip gdb-66d9f06f6d4d2ba293055522ce5adc267a37158d.tar.gz gdb-66d9f06f6d4d2ba293055522ce5adc267a37158d.tar.bz2 |
(default_indirect_link_order): In assertion, compare link_order size field
against cooked size, not raw size, of input section.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r-- | bfd/linker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c index 3d8597e..f671f55 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 |