TI E2E Community
TI C/C++ Compiler
TI C/C++ Compiler - Forum
Re: Link option, 'disable size-based allocation (--default_order)' absent for cgt 4.9.0?
On reading through the document, I understand that there was a
default size-based algorithm to support the cmd file by default.
I would like to know if I need to replicate a similar behaviour, should
I add all my object files to cmd file in the order of their size?
This would mean doing it for some 300 source files that are present.
Is a guide on the implementation of the algorithm available,
so that i can replicate it? Also, any help on automating the
size based allocation would be helpful.
A good discussion on the --default_order option can be found here. Note that the linker currently uses a sized based algorithm. Older (think years back) linkers did not use a size based algorithm. This caused some unexpected problems for a few users. It is those users who used --default_order to cause the linker to use the older algorithm instead of the sized based algorithm.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your question.The Compiler Wiki answers most common questions.Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.