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.

map file中找不到symbol



大家好!

6678 ccs5.3

我在openem工程中添加了两个自己的函数,并注册在eo中作为处理函数,同时我通过了CODE_SECTION将这两个函数放在algo section上,而algo又在cfg中通过runAddress定义到0x00845000(即L2)上。

但我编译后发现,map文件中并没有出现algo的映射,也没有出现函数名的地址映射。

这是编译器做了优化吗? 还是为什么呢?

我并没有设置任何东西,而且因为这两个函数是注册在eo中的,所以说在工程中这两个函数是有被使用的,应该不存在因为工程中并没有使用而被优化掉吧。

请问该怎么解决呢?

谢谢!!