aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/arm.ld
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-09-21 14:45:32 +0200
committerAyke van Laethem <[email protected]>2018-09-21 15:38:28 +0200
commit505b1f750de1933501b1924a50110ea3b2b68fd9 (patch)
treecf5e9f95592d130f5c52ce0ba27ae16753b52ca9 /targets/arm.ld
parent3c22f5731cb60eb20384261a6a28f790972d90b3 (diff)
downloadtinygo-505b1f750de1933501b1924a50110ea3b2b68fd9.tar.gz
tinygo-505b1f750de1933501b1924a50110ea3b2b68fd9.zip
all: generate interrupt vector from .svd file
Diffstat (limited to 'targets/arm.ld')
-rw-r--r--targets/arm.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/targets/arm.ld b/targets/arm.ld
index 76a64f1ff..dca80f7a9 100644
--- a/targets/arm.ld
+++ b/targets/arm.ld
@@ -34,6 +34,8 @@ SECTIONS
__StackTop = .;
} >RAM
+ _sidata = LOADADDR(.data);
+
/* This is the initialized data section
The program executes knowing that the data is in the RAM
but the loader puts the initial values in the FLASH (inidata).