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.
Regards,
Aadishri
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,
-George
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.