forked from Imagelibrary/binutils-gdb
* ldwrite.c (build_link_order): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size. * pe-dll.c (process_def_file): Likewise.
This commit is contained in:
@@ -254,7 +254,7 @@ build_link_order (lang_statement_union_type *statement)
|
||||
if (i->_cooked_size)
|
||||
link_order->size = i->_cooked_size;
|
||||
else
|
||||
link_order->size = bfd_get_section_size_before_reloc (i);
|
||||
link_order->size = bfd_get_section_size (i);
|
||||
link_order->offset = i->output_offset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user