This is the mail archive of the gcc-patches@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]

.ident & company (was Re: Basic block profiler out of libgcc)


On Mon, May 07, 2001 at 12:50:12PM +0200, Hans-Peter Nilsson wrote:
> >  So I left it in.
> > The space issue should be solved by Jakub's string-merging patch
> > (automatically applied to .comment section, if I read it correctly).
> 
> Which requires binutils from CVS, assuming Jakub's patches have
> been committed now.

They must not have, or maybe they don't work on .comment.  Using today's
CVS sources for gcc and binutils, .ident is still accumulating quite a bit:

31% cd ~/build/install-2001-05-07/lib
32% ls -lF libstdc++.so.3.0.0 libgcc_s.so.0
-rw-r--r--    1 pme      pme        207434 May  7 19:27 libgcc_s.so.0
-rwxr-xr-x    1 pme      pme       3753280 May  7 19:28 libstdc++.so.3.0.0*
33%
33% ../bin/strip -R .comment libstdc++.so.3.0.0 libgcc_s.so.0
34% ls -lF libstdc++.so.3.0.0 libgcc_s.so.0
-rw-r--r--    1 pme      pme         33988 May  7 19:31 libgcc_s.so.0
-rwxr-xr-x    1 pme      pme        796944 May  7 19:31 libstdc++.so.3.0.0*
35%

And all this time I thought we were writing bloated code in libstdc++-v3.
Turns out it's 80% .ident strings!  :-)

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.


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.


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