ARM Technical Support Knowledge Articles

WHAT ARE _DATA_GROUP_ AND _BIT_GROUP_?

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


QUESTIONS

What are the _DATA_GROUP_ and the _BIT_GROUP_ segments? I don't recall declaring or using these in my programs, however, the linker includes them in the link map and they use quite a bit of DATA and BIT space.

TYPE    BASE      LENGTH    RELOCATION   SEGMENT NAME
-----------------------------------------------------

* * * * * * *   D A T A   M E M O R Y   * * * * * * *
REG     0000H     0008H     ABSOLUTE     "REG BANK 0"
DATA    0008H     0014H     UNIT         _DATA_GROUP_
        001CH     0004H                  *** GAP ***
BIT     0020H.0   0000H.3   UNIT         _BIT_GROUP_
        0020H.3   0000H.5                *** GAP ***
DATA    0021H     0051H     UNIT         ?DT?BUFFER
IDATA   0072H     0001H     UNIT         ?STACK

ANSWER

These segments are created so that the linker can perform overlay analysis and better optimize your use of DATA and BIT memory.

MORE INFORMATION

SEE ALSO

Article last edited on: 2006-10-16 11:50:14

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