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: Stab type information in string field


Ludovic Courtès <ludovic dot courtes at laas dot fr> writes:

> On Mon, Mar 31, 2003 at 05:36:50PM -0800, Ian Lance Taylor wrote:
> > Not quite.  N_EXCL comes with a number, in the symbol value field,
> > which is a hash of the contents of the header file.  You have to find
> > the N_BINCL with the same header file name and the same number.
> 
> Thanks a lot.  This little detail is rather important in fact. ;)
> The manual documents this as being a mysterious feature of the SunOS4
> linker.  Maybe it should be mentioned there that the GNU linker does
> exactly the same and that the value field can be used to distinguish
> among several different inclusions of the same header file.

This information is also in the current version of the GNU stabs
manual.

I don't know which version you are reading, but at this point I really
urge you to throw it away and instead read the current version, which
can be found at
    http://sources.redhat.com/gdb/download/onlinedocs/stabs.html

I updated that manual in a number of ways in 1997, and it appears that
you are reading a version from before those updates.

Ian


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