This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc2_compiled. vs GCC 3.0
- To: gcc at gcc dot gnu dot org
- Subject: Re: gcc2_compiled. vs GCC 3.0
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Sun, 11 Mar 2001 20:26:21 +0100
> Date: Sat, 10 Mar 2001 00:59:11 +0000 (GMT)
> From: "Joseph S. Myers" <jsm28@cam.ac.uk>
> On Fri, 9 Mar 2001, Jim Wilson wrote:
> > There are various problems that the gcc2_compiled label creates, so it would
> > be good to get rid of it.
>
> Can we also get rid of '.version "01.01"', as in config/linux.h:
>
> #define ASM_FILE_START(FILE) \
Ditto the default definition of ASM_FILE_END in config/elfos.h
(probably used or copied by your favorite system), that emits an
.ident note for the GCC version, that ends up in the .comment
section, which isn't marked SEC_DEBUGGING by default (in GNU
binutils) so likewise has to be explicitly stripped by section
name if you don't want waste in your executables.
That .ident note seems misplaced to me; there's no #ident
directive that requested that note. It can be disabled in each
target or with -fno-ident, but why emit it in the first place?
Oh bother, I'm worked up enough to make a patch out of it now.
Should have done so in the first place. :-)
brgds, H-P