From 856613c4fe05e5b424d9e9f174c4dd5c922c40b3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 5 Apr 1994 16:29:00 +0000 Subject: [PATCH] * 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. --- bfd/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.30.2