You copied the Doc URL to your clipboard.

3.32 --hide_and_localize=option[,option,…]

Changes the symbol visibility property to mark selected symbols as hidden, and converts the selected symbols to local symbols.

Syntax

--hide_and_localize=option[,option,…]

Where option is one of:

object_name::

All symbols in ELF objects with a name matching object_name are marked as hidden and converted to local symbols.

object_name::symbol_name

All symbols in ELF objects with a name matching object_name and also a symbol name matching symbol_name are marked as hidden and converted to local symbols.

symbol_name

All symbols with a symbol name matching symbol_name are marked as hidden and converted to local symbols.

You can:

  • Use wildcard characters ? and * for symbolic names in symbol_name and object_name arguments

  • Specify multiple values in one option followed by a comma-separated list of arguments.

Restrictions

You must use --elf with this option.

Related reference

Was this page helpful? Yes No