Strip
lastmod 2021-01-02created 2016-02-243 edits
Removes symbols.
Flags
-
-u - Save all undefined symbols. This is intended for use with relocatable objects to save symbols referred to by external relocation entries. Note that common symbols are also referred to by external relocation entries and this flag does not save those symbols.
-
-r - Save all symbols referenced dynamically.
Removing a specific symbol
To remove the main symbol: