64-bit BFD compile on AIX 5.1
Chris Chambreau
chcham@llnl.gov
Tue Jun 3 13:16:00 GMT 2003
I'm using 2.13.2. I did take a look at the CVS version, but I did not examine
it carefully enough. Sorry about that. I'll try out a more recent snapshot.
Thanks,
-Chris
On Tuesday 03 June 2003 03:17, Nick Clifton wrote:
> 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