PR872
authorNick Clifton <nickc@redhat.com>
Mon, 25 Apr 2005 14:27:00 +0000 (14:27 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Apr 2005 14:27:00 +0000 (14:27 +0000)
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.

binutils/ChangeLog
binutils/objcopy.c

index 82dec22525fa9cddda95ac28c4fa07b95adea3c2..9eb947c4252fd37f3c471dc418fe69313a4282c5 100644 (file)
@@ -1,6 +1,11 @@
 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.
+
        * doc/binutils.texi (strip, objcopy): Fix description of -K
        switch.
 
index 76e1b832aa639a66f5eed6b75d230f93302209c2..dfaa1bcaf61d6a6710919cb26f515a03ebcf87f2 100644 (file)
@@ -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)
This page took 0.033077 seconds and 4 git commands to generate.