fix mis-applied patch

This commit is contained in:
Nick Clifton 2000-01-14 18:13:40 +00:00
parent a19d8eb03e
commit 28240dcd30
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-14 Nick Clifton <nickc@cygnus.com>
* linker.c (default_indirect_link_order): oops - fix incorrectly
applied patch from Tim Wall.
2000-01-13 Timothy Wall (twall@tiac.net>
* coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx

View File

@ -2749,7 +2749,10 @@ default_indirect_link_order (output_bfd, info, output_section, link_order,
/* Output the section contents. */
if (! bfd_set_section_contents (output_bfd, output_section,
(PTR) new_contents,
link_order->offset, link_order->size))
(file_ptr)
(link_order->offset *
bfd_octets_per_byte (output_bfd)),
link_order->size))
goto error_return;
if (contents != NULL)