* simple.c (bfd_simple_get_relocated_section_contents): Set

link_info.output_bfd.
This commit is contained in:
Alan Modra
2008-02-16 23:00:12 +00:00
parent ad7ad8e491
commit 37da76e8a5
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-02-17 Ulrich Weigand <uweigand@de.ibm.com>
* simple.c (bfd_simple_get_relocated_section_contents): Set
link_info.output_bfd.
2008-02-16 Nathan Sidwell <nathan@codesourcery.com>
* dwarf2.c (find_line): Don't trust debug information after an

View File

@@ -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;