--undefined_and_export=symbol

This option causes the linker to:

  1. Create a symbol reference to the specified symbol name.

  2. Issue an implicit --keep(symbol) to prevent any sections brought in to define that symbol from being removed.

  3. Add an implicit EXPORT symbol to push the specified symbol into the dynamic symbol table.

Show/hideSyntax

--undefined_and_export=symbol

Show/hideUsage

Be aware of the following when using this option:

  • It does not change the visibility of a symbol unless you specify the --override_visibility option.

  • 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 --override_visibility option.

  • Hidden symbols are not exported unless you specify the --override_visibility option.

Show/hideSee also

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C
Non-ConfidentialID062912