diff options
Diffstat (limited to '1_hello_world/_rom.ld')
-rw-r--r-- | 1_hello_world/_rom.ld | 2 |
1 files changed, 2 insertions, 0 deletions
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 = .; } |