Part Number: C29-CGT
Hi,
While the minimum reproduction raised in EXT_EP-13450 has been fixed in C29-CGT version 2.2.2.LTS (as noted in Readme for C29 Code Generation Tools v2.2.2.LTS), there still seems to be a related issue with the option.
This issue (which shows up on both v2.2.1 and v2.2.2) is more complicated to trigger, from what I can tell it requires run addresses to two different memory blocks where the output sections are ordered one way and the physical addresses are ordered the other way (it also requires another output section in at least one of the memory blocks).
I have attached a new minimum reproduction (test.zip), as with the last one, executing `C:\ti\ccs2031\ccs\tools\compiler\ti-cgt-c29_2.2.2.LTS\bin\c29clang.exe main.c test.cmd` in this folder should result in a `test.map` file being generated.
The desired order from this is .text, .ram_func, .data, .bss while the actual order is .text, .data, .ram_func, .bss.
Regards, William