diff options
Diffstat (limited to 'test.ld')
-rw-r--r-- | test.ld | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +MEMORY { + ROM(rx) : ORIGIN = 0x00000000, LENGTH = 4M +} + +SECTIONS { + . = ORIGIN(ROM); + .text : { + KEEP(*(.text)) + . = ALIGN(2); + *(.text*) + . = ALIGN(2); + KEEP(*(.rodata)) + *(.rodata*) + . = ALIGN(2); + } >ROM +} |