projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa486c
)
(default_indirect_link_order): In assertion, compare link_order size field
author
Ken Raeburn
<raeburn@cygnus>
Wed, 16 Feb 1994 00:57:48 +0000
(
00:57
+0000)
committer
Ken Raeburn
<raeburn@cygnus>
Wed, 16 Feb 1994 00:57:48 +0000
(
00:57
+0000)
against cooked size, not raw size, of input section.
bfd/linker.c
patch
|
blob
|
history
diff --git
a/bfd/linker.c
b/bfd/linker.c
index 3d8597e166525b2c256132c3304c662f392d0f9f..f671f55d443575ab68b5537996f15152fc04cc4c 100644
(file)
--- 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