3.47 --privacy

Modifies the output file to protect your code in images and objects that are delivered to third parties.

Usage

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 .text

  • Removes the complete symbol table in the same way as --strip symbols

  • Removes the .comment section 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 .text.

  • 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.

Non-ConfidentialPDF file icon PDF versionARM DUI0477M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.