ARM Technical Support Knowledge Articles

USING WILDCARDS IN SEGMENT NAMES

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


QUESTION

Is there a way to use wildcards in the CODE and XDATA directives in the BL51 linker?

ANSWER

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.

SEE ALSO

Article last edited on: 2004-11-17 13:50:17

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential