The effect of this option is different for images and object files.
For images, this option:
changes section names to a default value, for example, changes code section names to
removes the complete symbol table in the same way as
.commentsection name, and is marked as
[Anonymous Section]in the fromelf --text output.
For object files, this option:
Changes section names to a default value, for example, changes code section names to
Keeps mapping symbols and build attributes in the symbol table.
Removes those local symbols that can be removed without loss of functionality.
Symbols that cannot be removed, such as the targets for relocations, are kept. For these symbols, the names are removed. These are marked as
[Anonymous Symbol]in the fromelf --text output.
Use this option to help protect your code in images and objects that are delivered to third parties.