diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-03-17 17:29:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-03-17 17:29:15 +0000 |
commit | 4bbf7a4924f003d70134be93934c52db516927fd (patch) | |
tree | 6a5ef1580beb8b74b2c2257a63606b0a8abda5a5 /bfd | |
parent | 1c6042ee109b6a5fc7301f064788d90fcfee3c2a (diff) | |
download | gdb-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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 |
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. |