ARM Technical Support Knowledge Articles

DP, DS AND DL DIRECTIVES

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


QUESTION

Somewhere I have seen the DP, DS and DL linker directives mentioned. I cannot find any reference to them in the 8051 Utilities manual. What do they do?

ANSWER

DP is an abbreviation for the DEBUGPUBLICS directive, DS is an abbreviation for the DEBUGSYMBOLS directive and DL is an abbreviation for the DEBUGLINES directive. The directives have the following meanings:

These directives are the default settings for the linker, so the following two linker invocations generate an OMF-51 file containing the same information:

BL51 EXAMPLE.OBJ TO EXAMPLE DL DS DP
BL51 EXAMPLE.OBJ TO EXAMPLE

To set up the linker in uVision:

  1. Choose BL51 Code Banking Linker from the Options menu
  2. Click on the Linking tab
  3. Select all three options in the Debug Information box: Include Local Symbols, Include Public Symbols, Include Line Numbers

MORE INFORMATION

Article last edited on: 2005-07-15 13:22:25

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