bfd/elf-m10300.c: odd code

Alan Modra amodra@bigpond.net.au
Thu May 6 04:44:00 GMT 2004


On Wed, May 05, 2004 at 01:57:35PM -0400, DJ Delorie wrote:
> 		      if ((hash->root.root.type == bfd_link_hash_defined
> 			   || hash->root.root.type == bfd_link_hash_defweak)
> 			  && hash->root.root.u.def.section == section
> 			  && ELF_ST_TYPE (isym->st_info) == STT_FUNC)

Looks like a pasto to me.  Probably should be hash->root.type == STT_FUNC.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list