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.

[参考译文] TMS320F28069:库中的函数是否全部被编译并链接至最终的可执行文件?

Guru**** 2587345 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/933320/tms320f28069-will-the-function-in-library-all-be-compiled-and-linked-to-the-final-executable-file

器件型号:TMS320F28069

您好!

我的客户已经构建了一个项目并使用了 Flash2806X_API_wFPU_Library.lib 中的一些函数。

但是、当他们检查.map 文件时、他们发现所有未在此库中使用的函数都位于最终的.map 文件中、如下所示:

这是否意味着该函数代码将驻留在存储器中? 这将浪费内存空间。

如何从内存中删除这些函数?