This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: .ident & company (was Re: Basic block profiler out of libgcc)
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.
> > I've been following this thread lately because it raises the same questions
> > that storing the command-line options in the .comment or .note sections
> > would; see the change-request thread taking place under PR 2678.
>
> 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.)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.