move RAM_FUNC functions into a distinct section in RAM
[bertos.git] / bertos / cpu / arm / scripts / arm7tdmi_rom.ld
index a4715b1b7533417a3fb1fdf27555adaf940ec4ed..8c60ed9fc3de18eda393b6752f69e1b66107e873 100644 (file)
@@ -82,6 +82,9 @@ SECTIONS
        .data : AT (_etext)
        {
                PROVIDE (__data_start = .);
+               . = ALIGN (4);
+               *(.ramfunc)
+               . = ALIGN (4);
                *(.data .data.*)
                . = ALIGN (4);
                _edata = .;