From 3cafce9623ec79738555c647b79afa65ccebb5a5 Mon Sep 17 00:00:00 2001 From: Oxore Date: Fri, 5 May 2023 23:11:08 +0300 Subject: Add true start and end ROM addresses --- 1_hello_world/_rom.ld | 2 ++ 1 file changed, 2 insertions(+) (limited to '1_hello_world/_rom.ld') diff --git a/1_hello_world/_rom.ld b/1_hello_world/_rom.ld index 55106be..916d9d9 100644 --- a/1_hello_world/_rom.ld +++ b/1_hello_world/_rom.ld @@ -1,4 +1,5 @@ SECTIONS { + __rom_start = ORIGIN(ROM); . = ORIGIN(ROM); .text : { KEEP(*(.stack)) @@ -12,4 +13,5 @@ SECTIONS { *(.rodata*) . = ALIGN(4); } >ROM + __rom_end = .; } -- cgit v1.2.3