This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Useless code in sh_elf_create_dynamic_sections
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org, nickc at redhat dot com, ian at airs dot com, aoliva at redhat dot com
- Date: Fri, 29 Jun 2012 23:37:00 +0930
- Subject: Re: Useless code in sh_elf_create_dynamic_sections
- References: <20120627154608.GC3391@bubble.grove.modra.org>
On Thu, Jun 28, 2012 at 01:16:08AM +0930, Alan Modra wrote:
> * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela
> section for bss type sections, except for .rela.bss.
> * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise.
> * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise.
> * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise.
> * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
> * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
Committed.
--
Alan Modra
Australia Development Lab, IBM