-
Bug
-
Resolution: Won't Fix
-
Medium
-
Code Generation Tools
-
CODEGEN-7457
-
C2000_20.2.0.LTS
-
default
-
User interpretation error
The attached hello.c is a simple hello world program. Build it ...
% cl2000 hello.c -z -o hello.out -m hello.map <Linking>
Then inspect the map file. In the MEMORY CONFIGURATION table, this shows ...
DATA 00000000 00010000 00000ad0 0000f530 RW
The fourth column is how much of the memory range is used, which is 0xad0 words in this case.
However, looking at the highest section allocated to DATA, this shows ...
.cio 1 000009c0 00000120 UNINITIALIZED 000009c0 00000120 rts2800_ml.lib : trgmsg.c.obj (.cio)
Note that 0x9c0+0x120 = 0xae0, and not 0xad0.