A program allocated to external ROM can be copied to internal RAM and executed in internal RAM while linking and after copying if the relative value of each section and each symbol (TP, EP, GP) is not destroyed. Use caution, as some programs can be copied while others cannot.
After resetting, it is copied to internal RAM, and if the program is not changed, then the ROMization function can be used to easily pack the text section.