Is there a way to move C variables from a section to another into the linker script?

361 Views Asked by At

I have a constant array that the linker places into the .rodata section. I need it to go into the .text section. Is it possible? I have already tried to define it as static const but it didn't change anything. I am using the Green Hills linker and compiler.

Thank you!

0

There are 0 best solutions below