Defining Additional Symbols
Besides the symbols provided from input files, you can
supply additional global symbol references or global symbol
definitions to a link-edit. In the simplest form, symbol references
can be generated using the link-editor's -u
option.
Greater flexibility is provided with the link-editor's
-M
option and an associated
mapfile
. This
mapfile
enables you to define global
symbol references and a variety of global symbol definitions.
Attributes of the symbol such as visibility and type can be
specified, See SYMBOL_SCOPE and SYMBOL_VERSION Directives for a complete description
of the available options.