From: Ian Lance Taylor Date: Thu, 17 Mar 1994 17:29:15 +0000 (+0000) Subject: * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bbf7a4924f003d70134be93934c52db516927fd;p=binutils-gdb.git * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail if malloc (0) fails. bfd_canonicalize_reloc returning 0 is not a failure indication, it merely means there are no relocs. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 186049612e1..f24cf5406a8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ Thu Mar 17 11:44:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * reloc.c (bfd_generic_get_relocated_section_contents): Don't fail + if malloc (0) fails. bfd_canonicalize_reloc returning 0 is not a + failure indication, it merely means there are no relocs. + * elfcode.h (NAME(bfd_elf,write_object_contents)): Don't use space after NAME, since SunOS /bin/cc can't handle it.