PATCH: Add bfd_get_section_ident

Alan Modra amodra@bigpond.net.au
Thu Jul 1 23:26:00 GMT 2004


On Thu, Jul 01, 2004 at 11:26:47AM -0700, H. J. Lu wrote:
> Alan suggested use elf_group_name. Here is an updated patch.
> 
> 
> H.J.

> bfd/
> 
> 2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* bfd.c (bfd_get_section_ident): New.
> 
> 	* elflink.c (elf_link_read_relocs_from_section): Call
> 	bfd_get_section_ident to identify the section when reporting
> 	error.
> 	(_bfd_elf_link_output_relocs): Likewise.
> 	(elf_link_output_extsym): Likewise.
> 	(elf_link_input_bfd): Likewise.
> 	(bfd_elf_gc_record_vtinherit): Likewise.
> 
> ld/
> 
> 2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
> 	the section.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list