This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 64-bit BFD compile on AIX 5.1
- From: Chris Chambreau <chcham at llnl dot gov>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 3 Jun 2003 08:15:01 -0500
- Subject: Re: 64-bit BFD compile on AIX 5.1
- References: <200305291720.28042.chcham@llnl.gov> <200306021606.36018.chcham@llnl.gov> <m3llwjo9ri.fsf@redhat.com>
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