10.1.4. Steering files

Steering files can be used to change the visibility of a symbol from STV_HIDDEN visibility to STV_DEFAULT visibility. A steering file is a textual file containing commands for the linker that is supplied with the --edit <steering_file> command-line option. There are two steering file commands:

IMPORT changes the visibility of references from STV_HIDDEN to STV_DEFAULT. EXPORT changes the visibility of definitions from STV_HIDDEN to STV_DEFAULT. Both commands also cause the symbol reference or definition to be added to the dynamic symbol table. Therefore these steering file commands can be used to manually control the contents of the dynamic symbol table.


In RVCT 4.0 and later the --override_visibility linker switch is required for the EXPORT and IMPORT steering file commands to change the visibility of symbols.

Copyright © 2010 ARM. All rights reserved.ARM DAI 0242A