I try to calculate the crc of the .version section. The section holds one variable witch fills the hole section (20 bytes)
.version : crc_table(crc_table) > VERSION
compling (arm_15.12.2.LTS) shows the following error:
"../test.cmd", line 103: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".version" size 0x14 . Available memory ranges:
VERSION size: 0x14 unused: 0x14 max hole: 0x14
error #10010: errors encountered during linking; "test.out" not built
According to the linker error, the fiting should be able, or not? 0x14 bytes should fit into a 0x14 hole.
Compiling without crc_table is working fine. I figured out, I need 4 bytes more iside the section for the crc_table to work.
Is it a bug?