diff options
Diffstat (limited to '_rom.ld')
-rw-r--r-- | _rom.ld | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +SECTIONS { + . = ORIGIN(ROM); + .text : { + KEEP(*(.stack)) + KEEP(*(.vectors)) + KEEP(*(.smd_header)) + KEEP(*(.text)) + . = ALIGN(4); + *(.text*) + . = ALIGN(4); + KEEP(*(.rodata)) + *(.rodata*) + . = ALIGN(4); + } >ROM +} |