Non-Confidential | ![]() | DUI0803J | ||
| ||||
Home > Accessing and Managing Symbols with armlink > Access symbols in another image > Reading a symdefs file |
A symdefs file can be considered as an object file with symbol information but no code or data.
To read a symdefs file, add it to your file list as you do for any object file. The linker
reads the file and adds the symbols and their values to the output symbol table. The added
symbols have ABSOLUTE
and GLOBAL
attributes.
If a partial link is being performed, the symbols are added to the output object symbol table. If a full link is being performed, the symbols are added to the image symbol table.
The linker generates error messages for invalid rows in the file. A row is invalid if:
Any of the columns are missing.
Any of the columns have invalid values.
The symbols extracted from a symdefs file are treated in exactly the same way as symbols extracted from an object symbol table. The same restrictions apply regarding multiple symbol definitions.