SLAU131V October 2004 – February 2020
...
SECTIONS
{
.section_to_be_verified_1: {a1.c.obj(.text)}
crc_table(_my_crc_table_for_a1_and_c1)
.section_to_be_verified_3: {c1.c.obj(.text)}
crc_table(_my_crc_table_for_a1_and_c1, algorithm=CRC_CCITT)
}
...
In Example 27 the same identifier, _my_crc_table_for_a1_and_c1, is specified for both a1.c.obj and c1.c.obj. The linker creates a single table that contains entries for both text sections. Multiple CRC algorithms can occur in a single table. In this case, _my_crc_table_for_a1_and_c1 contains an entry for the text data from a1.c.obj using the default CRC algorithm, and an entry for the text data from c1.c.obj using the CRC_CCITT algorithm. The order of the entries is unspecified.