Hi, experts:
please do me a favor, when I develop a bootloader. I need separate Flash driver with the other parts of bootloader code to different places.
Flash driver, such as FLASH_DRV_Program, should be compiled as a separate .src file and be placed at RAM.
other parts of bootloader code should be placed in the flash.
I have tryed __attribute__((section (".customSection")))
status_t __attribute__((section (".customSection"))) FLASH_DRV_Program(const flash_ssd_config_t * pSSDConfig,
uint32_t dest,
uint32_t size,
const uint8_t * pData)
but in .map the result turn out to be 
this means function FLASH_DRV_Program is loaded from address 0x00007acc to address 0x20000000, NOT I want.
I just want FLASH_DRV_Program is directly placed in RAM by compiler, NOT loaded from flash.
If the flash driver which placed in RAM be compiler as a separate .src, that's better.
How can I solve those problem? please help me, much appreciated. my MCU is S32K144.
@all experts