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 Fri, May 11, 2001 at 05:37:03PM -0400, Phil Edwards wrote:
> On Fri, May 11, 2001 at 10:32:27AM -0700, Zack Weinberg wrote:
> > 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.
>
> Grrrrrr... "strip -R .comment" apparently means to /also/ remove the .comment
> section, not to /only/ remove the .comment section, contrary to documentation
> and all common sense. (Note to self: never trust binutils documentation.)
I think 'objcopy -R .comment' does what you originally meant to do.
I don't have a built copy of glibc around, but I remember its .comment
section hovered around 50-60KB (glibc is built from hundreds of tiny
source files and therefore has lots of .comments). Which is not much
of a problem, except when you're trying to build a boot floppy or
something, and then it's a catastrophe.
[.note]
> I.e., the layout is strictly defined, but what we choose to use the array
> for is up to us.
Oh, okay.
--
zw You have to care about the 'fair trial' part; you have to care about
the 'due process of law' part, and you have to care about these things
*more* than you care about putting child molestors away.
-- Graydon Saunders