This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd/elf-m10300.c: odd code
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: DJ Delorie <dj at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 6 May 2004 14:14:08 +0930
- Subject: Re: bfd/elf-m10300.c: odd code
- References: <200405051757.i45HvZHM013141@greed.delorie.com>
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