bfd/elf-m10300.c: odd code

Alexandre Oliva aoliva@redhat.com
Thu May 6 06:52:00 GMT 2004


On May  5, 2004, DJ Delorie <dj@redhat.com> wrote:

> 			  && hash->root.root.u.def.section == section
> 			  && ELF_ST_TYPE (isym->st_info) == STT_FUNC)

> 1. isym is "left dangling" after the first loop, yet used in the
>    second loop.

Yeah, that's a bug :-(

We should take the symbol type from hash, not isym.  Not sure how to
get to it though.  Thanks for tracking it down.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Binutils mailing list