Stab type information in string field
Ludovic Courtès
ludovic.courtes@laas.fr
Wed Apr 2 09:38:00 GMT 2003
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.
More information about the Binutils
mailing list