aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-03-17 17:29:15 +0000
committerIan Lance Taylor <ian@airs.com>1994-03-17 17:29:15 +0000
commit4bbf7a4924f003d70134be93934c52db516927fd (patch)
tree6a5ef1580beb8b74b2c2257a63606b0a8abda5a5
parent1c6042ee109b6a5fc7301f064788d90fcfee3c2a (diff)
downloadgdb-4bbf7a4924f003d70134be93934c52db516927fd.zip
gdb-4bbf7a4924f003d70134be93934c52db516927fd.tar.gz
gdb-4bbf7a4924f003d70134be93934c52db516927fd.tar.bz2
* 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.
-rw-r--r--bfd/ChangeLog4
1 files changed, 4 insertions, 0 deletions
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.