From: Alan Modra Date: Sat, 16 Feb 2008 23:00:12 +0000 (+0000) Subject: * simple.c (bfd_simple_get_relocated_section_contents): Set X-Git-Tag: gdb_6_8-2008-02-26-branchpoint~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37da76e8a5ef0d656b9c924e19a4e0db38af5062;p=external%2Fbinutils.git * simple.c (bfd_simple_get_relocated_section_contents): Set link_info.output_bfd. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bb2ace6..a9ffccf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2008-02-17 Ulrich Weigand + + * simple.c (bfd_simple_get_relocated_section_contents): Set + link_info.output_bfd. + 2008-02-16 Nathan Sidwell * dwarf2.c (find_line): Don't trust debug information after an diff --git a/bfd/simple.c b/bfd/simple.c index 1b92a05..dd69f9a 100644 --- a/bfd/simple.c +++ b/bfd/simple.c @@ -1,5 +1,5 @@ /* simple.c -- BFD simple client routines - Copyright 2002, 2003, 2004, 2005, 2007 + Copyright 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. Contributed by MontaVista Software, Inc. @@ -186,6 +186,7 @@ bfd_simple_get_relocated_section_contents (bfd *abfd, /* Fill in the bare minimum number of fields for our purposes. */ memset (&link_info, 0, sizeof (link_info)); + link_info.output_bfd = abfd; link_info.input_bfds = abfd; link_info.input_bfds_tail = &abfd->link_next;