This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Don't use section name to set ELF section data
On Fri, Jul 25, 2003 at 10:59:40AM -0700, H. J. Lu wrote:
> * elf.c (_bfd_elf_new_section_hook): Set the default section
> type to SHT_NULL.
> (elf_fake_sections): Set the section type based on asect->flags
> if it is SHT_NULL. Don't abort on processor specific section
> types.
>
> * config/obj-elf.c (obj_elf_change_section): Update
> elf_section_type and elf_section_flags only when they are
> specified.
OK.
> +#if 0
> + /* FIXME: How to handle processor specific sections? */
Except that you may as well remove the #if 0 code (unless you think
you might re-enable it soon).
--
Alan Modra
IBM OzLabs - Linux Technology Centre