move RAM_FUNC functions into a distinct section in RAM
[bertos.git] / bertos / cpu / cortex-m3 / scripts / cortex-m3_rom.ld
index c488d06f2408799f81a2ab54b2fe4c6bdad0a0e1..bed63240712b9b336ed6ba9dbc1cb338c70fb1c6 100644 (file)
@@ -72,6 +72,9 @@ SECTIONS
                . = ALIGN (0x400);
                PROVIDE (__data_start = .);
                *(vtable)
+               . = ALIGN (4);
+               *(.ramfunc)
+               . = ALIGN (4);
                *(.data .data.*)
                . = ALIGN (4);
                _edata = .;