Hi Dinesh Babu,
Please refer to this document:
Relocating Code and Data Using the CW GCC Linker File for Kinetis
This document will solve both your two questions, you just need to modify the .ld file, then refer to the document :chapter 5) Relocating Data, it's clear to understand.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------