I would like to place some functions (e.g. memcpy) from libc.a in a special output section to be placed in fast memory. However, the linker always gives a "warning: no matching section" message for that line of the linker command file.
I can see from our map file that we are linking in the "text:memcpy" section from "memcpy64.obj" of "rts64plus_elf.lib".
I think the following should work:
.fast_rts > SL2RAM
{
-lrts64plus_elf.lib<memcpy64.obj> (.text:memcpy)
But it gives the above warning and doesn't place the function properly. I've tried other variants without success.
Please advise.
Thanks.