This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld (bfd?) bug: unmatched excluded include in stabs


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
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]