diff options
author | Alan Modra <amodra@gmail.com> | 2008-02-16 23:00:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-02-16 23:00:12 +0000 |
commit | 37da76e8a5ef0d656b9c924e19a4e0db38af5062 (patch) | |
tree | 846b03fd87f1c68b07baabbc5bc6a05fe8c33a97 /bfd/simple.c | |
parent | ad7ad8e4912ad7943179d579fcc91ca88ae914a0 (diff) | |
download | gdb-37da76e8a5ef0d656b9c924e19a4e0db38af5062.zip gdb-37da76e8a5ef0d656b9c924e19a4e0db38af5062.tar.gz gdb-37da76e8a5ef0d656b9c924e19a4e0db38af5062.tar.bz2 |
* simple.c (bfd_simple_get_relocated_section_contents): Set
link_info.output_bfd.
Diffstat (limited to 'bfd/simple.c')
-rw-r--r-- | bfd/simple.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |