From 79ff96cb2ffb140863c48803d21d10349881f907 Mon Sep 17 00:00:00 2001 From: Oxore Date: Thu, 4 May 2023 00:16:02 +0300 Subject: Add Readme, move hello world into separate dir --- 1_hello_world/_rom.ld | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 1_hello_world/_rom.ld (limited to '1_hello_world/_rom.ld') diff --git a/1_hello_world/_rom.ld b/1_hello_world/_rom.ld new file mode 100644 index 0000000..55106be --- /dev/null +++ b/1_hello_world/_rom.ld @@ -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 +} -- cgit v1.2.3