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: Nick Clifton <nickc at redhat dot com>
- To: Chris Chambreau <chcham at llnl dot gov>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 03 Jun 2003 09:17:21 +0100
- Subject: Re: 64-bit BFD compile on AIX 5.1
- References: <200305291720.28042.chcham@llnl.gov> <m34r3cvmmj.fsf@redhat.com><200306021606.36018.chcham@llnl.gov>
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