* aoutx.h (NAME(aout,canonicalize_reloc)): Don't error out if
authorIan Lance Taylor <ian@airs.com>
Tue, 5 Apr 1994 15:32:49 +0000 (15:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 5 Apr 1994 15:32:49 +0000 (15:32 +0000)
commitb3cee0a981326af85e3b0695f728a63f981bf465
tree99a0c79e6eb789249118a4f633524d83c1d8adfc
parent4e8e5c4ac523dd13db9832f3ed43c19d7e935646
* aoutx.h (NAME(aout,canonicalize_reloc)): Don't error out if
section->relocation is NULL; malloc might have returned NULL when
given a zero size if there were no relocations.
* bout.c (b_out_canonicalize_reloc): Likewise.
* coffcode.h (coff_canonicalize_reloc): Likewise.
* ecoff.c (ecoff_canonicalize_reloc): Likewise.
* elfcode.h (elf_canonicalize_reloc): Likewise.
* mipsbsd.c (MY(canonicalize_reloc)): Likewise.
* i386lynx.c (NAME(lynx,canonicalize_reloc)): Likewise.
* nlmcode.h (nlm_canonicalize_reloc): Likewise.
* som.c (som_canonicalize_reloc): Likewise.
* hp300hpux.c (MY(slurp_reloc_table)): Likewise.  Also, if malloc
returns NULL, don't report an error if we asked for zero bytes.
* i386lynx.c (NAME(lynx,slurp_reloc_table)): If malloc returns
NULL, don't report an error if we asked for zero bytes.
* nlmcode.h (nlm_slurp_reloc_fixups): Likewise.
bfd/ChangeLog
bfd/aoutx.h
bfd/bout.c
bfd/coffcode.h
bfd/ecoff.c
bfd/elfcode.h
bfd/hp300hpux.c
bfd/i386lynx.c
bfd/mipsbsd.c
bfd/nlmcode.h
bfd/som.c