64-bit BFD compile on AIX 5.1
Nick Clifton
nickc@redhat.com
Tue Jun 3 08:33:00 GMT 2003
Hi Chris,
> Thanks for your help. I'm having a bit better luck now. However, I
> did run into a case where I was getting a segfault in
> coff_find_nearest_line in coffgen.c. It looks like in some cases
> sec_data could fall through to the end of the function without
> getting initialized. Initializing sec_data to NULL seemed to take
> care of this problem.
Which version of the sources are you using ? The current sources in
the CVS repository already seem to have this feature in:
struct coff_section_tdata *sec_data;
...
sec_data = coff_section_data (abfd, section);
if (sec_data != NULL
&& sec_data->i > 0
&& offset >= sec_data->offset)
...
Cheers
Nick
More information about the Binutils
mailing list