| |||
| Home > Accessing Image Symbols > ARM/Thumb synonyms | |||
The linker enables multiple definitions of a symbol to coexist in an image, only if each definition is associated with a different processor state. armlink applies the following rules when a reference is made to a symbol with ARM/Thumb® synonyms:
B, BL, or BLX instructions
to a symbol from ARM state resolve to the ARM definition.
B, BL, or BLX instructions
to a symbol from Thumb state resolve to the Thumb definition.
Any other reference to the symbol resolves to the first definition encountered by the linker. In this case, armlink displays a warning that specifies the chosen symbol.