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.

Linker version 5.3.8.0 filling holes

Using C55 codegen tools in CCS 4.2.4. RTM tools included with ezDSP5502 may result in random code failures. The issue was tracked to linker version 5.3.8.0 not properly filling holes behind ret instructions.  The work around was to force all .text into one single .text section.  Updating to newer codegen tools seems to resolve 98% of the problem.  There are just a few spots between .text sub-sections that may not be completely handled depending on alignment.  The failing demo example is attached along with the linker command file that fixed the issue.

On a side note, busting the .text section up into lot of little .text sub-sections can slow down code loading.

ezdsp5502_v1.zip