This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-CGT: TI linker malfunctions when declaring weak symbols in linker command file

Part Number: TI-CGT

Tool/software:

I have now seen the issue when building EABI objects for MSP430 architecture and C28x architecture.

When declaring weak symbols in the linker command file and using link-time optimizations, the linker will sometimes issue this warning:

warning #10202-D: no suitable entry-point found; setting to 0

The map file and xml linkinfo files will have the entry point address at 0, but the firmware image does contain a start-up routine from the RTS library and the proper branch instruction/vector is in the right place.

Additionally, if using the GROUP directive and there are weak symbols in the linker command file, the linker crashes.