HP aC++/HP C A.06.25 Programmer's Guide
-Bhidden_def
-Bhidden_def
This option is the same as -Bhidden, but only locally defined (non-tentative) symbols,
without __declspec(dllexport), are assigned the hidden export class.
-Bprotected
-Bprotected[=symbol[,symbol...]]
The specified symbols, or all symbols if no symbols are specified, are assigned the
protected export class. That means these symbols will not be preempted by symbols
from other load modules, so the compiler may bypass the linkage table for both code
and data references and bind them to locally defined code and data symbols.
When used with no symbol list, -Bprotected implies -Wl,-aarchive_shared,
causing the linker to prefer an archive library over a shared library, if one is available.
This can be overridden by following the -Bprotected option with a subsequent
-Wl,-a option.
Usage:
-Bprotected:filename
The file indicated by filename contains a list of symbols, separated by spaces or
newlines. These symbols are assigned the protected export class.
-Bprotected_data
-Bprotected_data
The -Bprotected_data option marks only data symbols as having the protected
export class.
-Bprotected_def
-Bprotected_def
The -Bprotected_def option is the same as -Bprotected but only locally defined
(non-tentative) symbols are assigned the protected export class.
-Bsymbolic
-Bsymbolic
The -Bsymbolic option assigns protected export class to all symbols. This is equivalent
to -Bprotected with no symbol list.
Symbol Binding Options 119