PATCH: Don't use section name to set ELF section data

Alan Modra amodra@bigpond.net.au
Sat Jul 26 00:09:00 GMT 2003


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



More information about the Binutils mailing list