This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd/elf-m10300.c: odd code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]