Linker User GuidePreface Overview of the Linker Linking Models Supported by armlink Image Structure and Generation Linker Optimization Features Getting Image Details Accessing and Managing Symbols with armlink Scatter-loading Features Scatter File Syntax Linker Command-line Options Linker Steering File Command Reference EXPORT steering file command HIDE steering file command IMPORT steering file command RENAME steering file command REQUIRE steering file command RESOLVE steering file command SHOW steering file command Via File Syntax
HIDE steering file command
10.2 HIDE steering file command
Makes defined global symbols in the symbol table anonymous.
You can use
; steer.txt ; Hides all global symbols HIDE * ; Shows all symbols beginning with ’os_’ SHOW os_*
This example produces a partially linked object with all global symbols hidden, except those beginning with
Link this example with the command:
armlink --partial input_object.o --edit steer.txt -o partial_object.o
You can link the resulting partial object with other objects, provided they do not contain references to the hidden symbols. When symbols are hidden in the output object,
of your data.