My platform is MPC574x + S32DS.
My question is that how to copy a function into RAM and run after ECU start up. I search NXP community and found an example which may work in code warrior. But the S32 DS seems didn't support it.
Below is the function I want to run in RAM, but gets warnings during compiling.

Below is part of my ld file:
/**************** RAM function Section *******************/
.runInRam :
{
__RAMFUNC_START = .;
*(.runInRam)
*(.runInRam.*)
__RAMFUNC_END = .;
} > ramfunc_ram AT>Z4_APP_RAMFunc_text