Added .ramfunc attribute to linker script to enable keeping functions in RAM.

This commit is contained in:
Jason Yosinski 2022-12-20 11:27:08 -08:00
parent 0fd44a54b7
commit a6b4ae7738

View file

@ -170,6 +170,10 @@ SECTIONS
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
/* Keep .ramfunc functions in RAM */
KEEP(*(.ramfunc))
KEEP(*(.jcr*))
. = ALIGN(16);
/* All data end */