This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Better default for elf_backend_section_from_shdr
On Tue, Mar 01, 2005 at 08:12:40PM -0800, Zack Weinberg wrote:
> * elf.c (bfd_section_from_shdr <default case>):
> Call elf_backend_section_from_shdr hook unconditionally, and
> return what it returns.
> (bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr.
> * elfxx-target.h (elf_backend_section_from_shdr)
> (elf_backend_section_from_phdr): Default to
> _bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr
> respectively.
OK.
--
Alan Modra
IBM OzLabs - Linux Technology Centre