-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-11240
-
-
-
default
-
None
The file hello.c contains a typical hello world program. The linker command file link2000.cmd has these lines ...
CRCMEM : origin = 0x3e8002, length = 0x0000a6 ... .text > EXT, crc_table(_load_tab1, algorithm=CRC16_802_15_4) .TI.crctab > CRCMEM
The CRCMEM memory range is not used otherwise. It is reasonable to expect the crc table generated for .text to start at address 0x3e8002. But it starts at the next 4-word boundary 0x3e8004. These lines are from the map file ...
LINKER GENERATED CRC TABLES _load_tab1 @ 003e8004 records: 1, size/record: 8, table size: 10 .text: algorithm=CRC16_802_15_4(ID=1), page=0, load addr=00081000, size=00000ab9, CRC=0000d85c
The documentation never mentions or explains why the linker performs this 4-word alignment.