mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-02 06:54:54 +00:00
(default_indirect_link_order): In assertion, compare link_order size field
against cooked size, not raw size, of input section.
This commit is contained in:
parent
aaa486c3d0
commit
66d9f06f6d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user