This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: gcc2_compiled. vs GCC 3.0


> 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


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