Tool/software: TI C/C++ Compiler
I'm still dealing with the same fundamental problem described in https://e2e.ti.com/support/tools/ccs/f/81/t/768585, and I want to check in and see if the recommendation has changed or if this has been solved yet.
I need a way to place a specific output section last in a given memory range. I ran into a problem recently where a section where we require this property did happen to be last, but as soon as we increased its size, the linker decided to place it before a section that was slightly smaller. Using the HIGH specifier doesn't do quite what we want either, because it will require using all of the space in that region, regardless of whether we actually need it. The sudden ordering change came as a surprise because it differs from the GNU linker which will place output sections in the order they appear by default; I think the script was originally written with this behavior in mind and the original author happened to get lucky that the "must be last" section was also the smallest, but this is not a guarantee.