Part Number: MSP430F67691
Tool/software: TI C/C++ Compiler
My linker command file (in part) is
GROUP > FLASH:
{
first_section
{
-lxxx.lib(.text, .const, .cinit) {}
}
second_section
{
*(.text)
*(.const)
}
} crc_table(mdu_crc_table, algorithm=CRC16_CCITT)
.cinit : {} crc_table(mdu_crc_table, algorithm=CRC16_CCITT) > FLASH
This seems to work. It creates a crc_table with three entries for first, second and .cinit sections. I want to reduce this to two entries. I've tried to move ".cinit" into "second_section" using several different syntax, but all fail in some way. For example
GROUP > FLASH:
{
first_section
{
-lxxx.lib(.text, .const, .cinit) {}
}
second_section
{
*(.text)
*(.const)
*(.cinit)
}
} crc_table(mdu_crc_table, algorithm=CRC16_CCITT)
generates a #10068-D no matching section warning for *(.cinit) and doesn't applocate.cinit correctly. Any suggestions?