--- binutils-2.7.0.3/binutils/ar.c.orig Sun Mar 30 09:34:50 1997
+++ binutils-2.7.0.3/binutils/ar.c Sun Mar 30 10:09:31 1997
@@ -605,7 +605,7 @@
/* Try to figure out the target to use for the archive from the
first object on the list. */
- obj = bfd_openr (file, NULL);
+ obj = file ? bfd_openr (file, NULL) : NULL;
if (obj != NULL)
{
if (bfd_check_format (obj, bfd_object))