This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld (bfd?) bug: unmatched excluded include in stabs
- From: Nick Clifton <nickc at redhat dot com>
- To: "Mattias Engdegård" <mattias at virtutech dot se>
- Cc: binutils at sources dot redhat dot com, bug-binutils at gnu dot org
- Date: Tue, 18 Nov 2003 14:52:32 +0000
- Subject: Re: ld (bfd?) bug: unmatched excluded include in stabs
- References: <200311171814.hAHIEDB19275@virtutech.se>
Hi Mattias,
> Now consider another object file that includes alfa.h. Its stabs will be
> roughly equal to those of alfa.o above. When this is linked to the partial
> link, the resulting BINCL of alfa.h will have checksum != 0 (since this
> time the EXCL gamma.h contributes), but the use will have checksum == 0.
Not being an expert on STABS, I am not sure if the following question
makes any sense, but I will ask it anyway: Is this the correct
behaviour for the linker, or should it be ignoring the EXCL gamma.h
when computing the checksum for the BINCL of alfa.h ?
> I have a testcase for this, which I could wrap up if someone is
> interested.
Yes - please send the testcase to the list. (I assume that it is a
*small* testcase ? :-)
Cheers
Nick