* config.bfd (arm-*-netbsdelf*): Add target.
[deliverable/binutils-gdb.git] / bfd / syms.c
index b334c11c2e5e3ef20a1b66de24472a88b0652d14..03c41a5286220cb0aa7f0cbb2af8e3d7a9abc3c4 100644 (file)
@@ -715,6 +715,8 @@ _bfd_generic_read_minisymbols (abfd, dynamic, minisymsp, sizep)
     storage = bfd_get_symtab_upper_bound (abfd);
   if (storage < 0)
     goto error_return;
+  if (storage == 0)
+    return 0;
 
   syms = (asymbol **) bfd_malloc ((bfd_size_type) storage);
   if (syms == NULL)
This page took 0.024031 seconds and 4 git commands to generate.