Added .ramfunc attribute to linker script to enable keeping functions in RAM.
This commit is contained in:
parent
0fd44a54b7
commit
a6b4ae7738
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue