Subject: Re: remove default of STRIPFLAG=-s ?
To: None <tech-toolchain@NetBSD.org>
From: David Laight <email@example.com>
Date: 02/12/2004 08:02:34
> > But only because we don't have #ident lines in all the header files.
> > Do that and 'mcs -c' is your friend.
> Ain't you confusing .ident and .comment?
> Comment section is like
> GCC: (GNU) 2.95.3 20010315 (release) (NetBSD nb3)
> repeated umpteen times.
IIRC #ident lines in source files generate entries in the .comment
section of the elf binary.
I suspect (not checked today) that the _RCSID("..") macro has much the
same effect as a #ident "...".
We (ie where I used to work) used to have #ident lines in all .c and .h
files, this leads to a lot (and I mean lot) of copies of the CVS/SCCS
ids of .h files in program binaries and, especially, libraries.
David Laight: firstname.lastname@example.org