From 21a9aa92a7cf8767a0fcb33858546dea744c4071 Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 5 Feb 2024 01:20:51 +0300 Subject: Organize source code and tests --- tests/test.ld | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/test.ld (limited to 'tests/test.ld') diff --git a/tests/test.ld b/tests/test.ld new file mode 100644 index 0000000..f939414 --- /dev/null +++ b/tests/test.ld @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: Unlicense + */ + +MEMORY { + ROM(rx) : ORIGIN = 0x00000000, LENGTH = 4M +} + +SECTIONS { + . = ORIGIN(ROM); + .text : { + KEEP(*(.text)) + . = ALIGN(2); + *(.text*) + . = ALIGN(2); + KEEP(*(.rodata)) + *(.rodata*) + . = ALIGN(2); + } >ROM +} -- cgit v1.2.3