This is the mail archive of the 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: .ident & company (was Re: Basic block profiler out of libgcc)

On Tue, May 08, 2001 at 11:17:16AM -0400, Phil Edwards wrote:
> On Mon, May 07, 2001 at 06:57:01PM -0700, Zack Weinberg wrote:
> > Did you strip those binaries first?  80% debug information _including_
> > .comment I can believe; 80% just .comment, no.
> Nope, no pre-stripping was done.  The first sizes I posted were the files as
> they exist after "make install"; what make does to them during installation
> I don't know.  The command sequence was as I posted.

In that case I bet you the big sections are .stab and .stabstr, not
.comment.  What's size -A give you?

> > If we were to store the command line options, that certainly would
> > make the .comment section (.note has a defined meaning which is not
> > that, doesn't it?) a lot bigger...
> .note has a defined structure, but a defined meaning.


> We're free to add
> things to the array.  (I have no idea what the syntax would be, and the gas
> docs don't say.  A "gcc_options" entry in the .note array would probably be
> the cleanest solution, but I don't know enough assembly pseudos to do that.
> So I picked .comment instead.)

I wouldn't know how to do it either.

zw                I met a traveller from an antique land
                  Who said: 'Your name is Ozymandias,
                  king of kings, and I claim my five pounds!'
                  	-- Del Cotter

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