Hi,
The Bootloader programs the FLASH from RAM.
As you can see above, the function is placed in ROUTINESINRAM section.
Please see the linker file (.prm) for more datails about the section.
There are additional functions in RamExec.h / RamExec.c that can be used to copy and run any funtion in RAM.
I'm not the owner of the bootloader, but as far as I can see, this is only an example how to use the RamExec functions.
Regards,
Daniel