You copied the Doc URL to your clipboard.

--hide_and_localize=option[,option,...]

This option changes the symbol visibility property to mark selected symbols as hidden, and converts the selected symbols to local symbols.

Restrictions

You must use --elf with this option.

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 options in one --hide_and_localize option followed by a comma-separated list of arguments.

See also

Reference
Was this page helpful? Yes No