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


Hi,

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.

Thanks,
Ludovic.


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