|Home > armlink Command-line Options > --undefined_and_export=symbol|
Prevents the removal of a specified symbol if it is undefined, and pushes the symbol into the dynamic symbol table.
Causes the linker to:
Create a symbol reference to the specified symbol name.
Issue an implicit
--keep= to prevent any sections brought in to define that symbol
from being removed.
Add an implicit
EXPORT to push the
specified symbol into the dynamic symbol table.
Be aware of the following when using this option:
It does not change the visibility of a symbol unless you specify the
A warning is issued if the visibility of the specified symbol is not high enough.
A warning is issued if the visibility of the specified symbol is overridden because
you also specified the
Hidden symbols are not exported unless you specify the