PR872
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.
This commit is contained in:
parent
5219e4c0b4
commit
bee59fd28b
|
@ -1,6 +1,11 @@
|
||||||
2005-04-25 Nick Clifton <nickc@redhat.com>
|
2005-04-25 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR872
|
||||||
|
* objcopy.c (copy_archive): Initialise 'obfd' field of new
|
||||||
|
name_list structure.
|
||||||
|
|
||||||
* objcopy.c (copy_usage): Fix description of -K switch.
|
* objcopy.c (copy_usage): Fix description of -K switch.
|
||||||
|
|
||||||
* doc/binutils.texi (strip, objcopy): Fix description of -K
|
* doc/binutils.texi (strip, objcopy): Fix description of -K
|
||||||
switch.
|
switch.
|
||||||
|
|
||||||
|
|
|
@ -1627,6 +1627,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target)
|
||||||
l = xmalloc (sizeof (struct name_list));
|
l = xmalloc (sizeof (struct name_list));
|
||||||
l->name = output_name;
|
l->name = output_name;
|
||||||
l->next = list;
|
l->next = list;
|
||||||
|
l->obfd = NULL;
|
||||||
list = l;
|
list = l;
|
||||||
|
|
||||||
if (output_bfd == NULL)
|
if (output_bfd == NULL)
|
||||||
|
|
Loading…
Reference in New Issue