diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-25 14:27:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-25 14:27:00 +0000 |
commit | bee59fd28b6134cf8d4e8435b1dedc638ee9f6ea (patch) | |
tree | af824d98438ada88acd929a8f9bd75497292a57d /binutils/objcopy.c | |
parent | 5219e4c0b408d01b53043155d4b885637a0879f7 (diff) | |
download | gdb-bee59fd28b6134cf8d4e8435b1dedc638ee9f6ea.zip gdb-bee59fd28b6134cf8d4e8435b1dedc638ee9f6ea.tar.gz gdb-bee59fd28b6134cf8d4e8435b1dedc638ee9f6ea.tar.bz2 |
PR872
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 76e1b83..dfaa1bcaf 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -1627,6 +1627,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target) l = xmalloc (sizeof (struct name_list)); l->name = output_name; l->next = list; + l->obfd = NULL; list = l; if (output_bfd == NULL) |