strip(1): Discard symbols from object files - Linux man page - strip symbols linux library


gcc - Core files when the symbols are stripped - Unix & Linux Stack Exchange strip symbols linux library

So, how to strip a shared library? --strip-unneeded states that it removes all symbols that are not needed for relocation processing. This is a little.

Many symbol names still end up in the string table, which appears to be Libraries for a technique to unify your windows DLL and Linux DSO.

GNU strip discards all symbols from object files objfile. Treat the original objfile as a file with the object code format bfdname, and rewrite it in the same format. When stripping symbols, keep symbol symbolname even if it would normally be stripped.