Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / cofflink.c
index ee4d032cbd02faf8fcc21a0c7917ddb5209e214d..0ac10de881977cf2cb0d9181784f5633a6d26a41 100644 (file)
@@ -2789,7 +2789,7 @@ _bfd_coff_reloc_link_order (bfd *output_bfd,
 
       size = bfd_get_reloc_size (howto);
       buf = (bfd_byte *) bfd_zmalloc (size);
-      if (buf == NULL)
+      if (buf == NULL && size != 0)
        return FALSE;
 
       rstat = _bfd_relocate_contents (howto, output_bfd,
This page took 0.022829 seconds and 4 git commands to generate.