Date: Wed, 29 Mar 1995 03:46:17 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, jkh@freefall.cdrom.com, nate@trout.sri.MT.net Cc: CVS-commiters@time.cdrom.com, cvs-lib@time.cdrom.com Subject: Re: cvs commit: src/lib/libc/stdlib strhash.c Message-ID: <199503281746.DAA30539@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>What good things come from the info from static functions in >non-debuggable libraries? I think we should be stripping that info. from >the shared .o's as well. All libraries are debuggable :-). >Generally speaking most people don't want to debug binaries w/out the >debugging information in (the poor unwashed never needed to use >non-symbolic debuggers :), so I propose that we strip out the static >symbols from the standard shared libraries. We don't supply libraries compiled with -g so the static symbols are more important than they should be. `ld -r -x' on libc/obj/*.so saves a whole 21K out of 535K. Many static symbols with long names are not removed. In fact, they become longer: for the object yplib.so, yplib.so.L179 becomes yplib.so.yplib.so.L179. I think there is a linker bug or two here. Shared objects are "stripped" using `ld -r -X'. The label for yplib.so was originally L179 and "stripping" turned it into yplib.so.L179 instead of removing it like the -X flag says to. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503281746.DAA30539>