I have a label "free_mem" which needs to come after .cinit in the linker map file. I have the label as the last entry in the linker command file but the linker assigns the order with .cinit being last in the memory block.
I have tried to use a group structure to force the ordering but this generates an error at link time which looks to be down to syntax.
Please could someone let me know how I should go about ensuring my application label comes last in the map file?