From 4bbf7a4924f003d70134be93934c52db516927fd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 17 Mar 1994 17:29:15 +0000 Subject: * 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. --- bfd/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1860496..f24cf54 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. -- cgit v1.1