From: Nick Clifton Date: Fri, 14 Jan 2000 18:13:40 +0000 (+0000) Subject: fix mis-applied patch X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=dbde08de7fdfd883e63d157a4fcf2bf8f3d97576;p=pf3gnuchains%2Fpf3gnuchains3x.git fix mis-applied patch --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fbb76a9073..a21a0b3558 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-01-14 Nick Clifton + + * 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 diff --git a/bfd/linker.c b/bfd/linker.c index cd7c4e191b..6e9ee65581 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -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)