* v850-opc.c (v850_operands): Define SR2 operand.
[deliverable/binutils-gdb.git] / bfd / i386lynx.c
index 6b27bd19ed317124b7c063543114a62fd142e1a1..089c7a7cda63b51897fa5f26cf176ab82ea6f86b 100644 (file)
@@ -418,12 +418,9 @@ doit:
   count = reloc_size / each_size;
 
 
-  reloc_cache = (arelent *) malloc (count * sizeof (arelent));
+  reloc_cache = (arelent *) bfd_malloc (count * sizeof (arelent));
   if (!reloc_cache && count != 0)
-    {
-      bfd_set_error (bfd_error_no_memory);
-      return false;
-    }
+    return false;
   memset (reloc_cache, 0, count * sizeof (arelent));
 
   relocs = (PTR) bfd_alloc (abfd, reloc_size);
This page took 0.034917 seconds and 4 git commands to generate.