This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug in xsym.c ?
Hi Elias,
> I believe the test should be made against the 'offset' variable.
>
> Although this is not a proof:
>
> [anteater at neutrino bfd]$ grep bfd_sym_fetch_type_information_table_entry *.c
> xsym.c:bfd_sym_fetch_type_information_table_entry (abfd, entry, offset)
> xsym.c: if (bfd_sym_fetch_type_information_table_entry (abfd, entry, tindex) < 0)
> xsym.c: if (bfd_sym_fetch_type_information_table_entry (abfd, &entry, index) < 0)
>
> As I understand it, 'offset' should have been named 'index'.
Seems fair enough. Klee has not responded, so I have checked in a
patch to rename 'entry' to 'offset'.
Cheers
Nick
2003-03-12 Nick Clifton <nickc at redhat dot com>
* xsym.c (bfd_sym_fetch_type_information_table_entry): Change
'entry' to 'offset' in test for zero value.