From: Ian Lance Taylor Date: Tue, 5 Apr 1994 16:29:00 +0000 (+0000) Subject: * elf32-mips.c (mips_elf_final_link): Don't remove empty sections. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=856613c4fe05e5b424d9e9f174c4dd5c922c40b3;p=binutils-gdb.git * elf32-mips.c (mips_elf_final_link): Don't remove empty sections. It turns out not to be required on Irix 5, and it causes problems if the sections happen to contain symbols. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ea22d42bda7..434db981b19 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ Tue Apr 5 11:22:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * elf32-mips.c (mips_elf_final_link): Don't remove empty sections. + It turns out not to be required on Irix 5, and it causes problems + if the sections happen to contain symbols. + + * elfcode.h (write_shdrs_and_ehdr): Correct bfd_write check. + * 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.