Date: Wed, 29 Mar 1995 04:33:44 +1000 From: Bruce Evans <bde@zeta.org.au> To: CVS-commiters@freefall.cdrom.com, cvs-share@freefall.cdrom.com, nate@freefall.cdrom.com Subject: Re: cvs commit: src/share/mk bsd.lib.mk Message-ID: <199503281833.EAA31430@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified: share/mk bsd.lib.mk > Log: > Do what should have been done in v1.14 > > *Really* strip out unused local symbols from shared objects. Should have been done for v1.1 in FreeBSD-1.1 :-). I checked some old libraries: libc.so.1.1 on 2.0R cdrom: Lots of useless static symbols: LC*, ___gnu_compiled_c, _rcsid, _sccsid, gcc2_compiled.. Lots of useless file sysmbols. Lots of USEFUL static symbols. Static symbols for functions and data are relatively rare in libraries (350 out of 1909 static text symbols in libc.so.2.0-current) so it would cost little to keep them. libc.so.2.0 on 2.0R cdrom: Same as above. libc.so.2.0 current: Same as above except LC* are expanded to <module_name>LC*. > This was a typo on my part caused by an assumption that the profiled > libraries stripped symbols that same way as the non-profiled libraries. > > Cut-n-Paste strikes again. This (replacing -x by -X) strips the useless symbols, the USEFUL symbols, and still expands LC*. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503281833.EAA31430>