9.117 --strict_visibility, --no_strict_visibility

Prevents or allows a hidden visibility reference to match against a shared object.

Usage

A linker is not permitted to match a symbol reference with STT_HIDDEN visibility to a dynamic shared object. Some older linkers might permit this.
Use --no_strict_visibility to permit a hidden visibility reference to match against a shared object.

Default

The default is --strict_visibility.
Related concepts
3.13 The strict family of linker options
Related reference
9.111 --strict
9.112 --strict_enum_size, --no_strict_enum_size
9.113 --strict_flags, --no_strict_flags
9.114 --strict_ph, --no_strict_ph
9.115 --strict_relocations, --no_strict_relocations
9.116 --strict_symbols, --no_strict_symbols
9.118 --strict_wchar_size, --no_strict_wchar_size
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.