|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
Is there a way to use wildcards in the CODE and XDATA directives in the BL51 linker?
Yes. In C51 V6.01, wildcard support was added to BL51 for the segment location directives (CODE, XDATA, DATA, and so on). For example:
In the uVision IDE, go to Project -> 'Options for Target' -> 'BL51 Misc', and in the 'Misc controls' section, enter:
CODE (?pr?*?myfile (0x100))
Or if using a make file, enter this command:
BL51 myfile.obj CODE (?pr?*?myfile (0x100))
These commands locate all program segments (functions) found in the myfile.obj OMF file starting at address 0100h.
Article last edited on: 2004-11-17 13:50:17
Did you find this article helpful? Yes No
How can we improve this article?