aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-09-21 15:06:49 +0200
committerAyke van Laethem <[email protected]>2018-09-21 15:38:55 +0200
commit5b0aaf0d39cbc99f620de08cfb153a2d27f88e3a (patch)
tree1f7cec3617cd6083fe7b1b7301e4749408115aaf /tools
parent212278030930380124a75cb6e203137d2dd46320 (diff)
downloadtinygo-5b0aaf0d39cbc99f620de08cfb153a2d27f88e3a.tar.gz
tinygo-5b0aaf0d39cbc99f620de08cfb153a2d27f88e3a.zip
targets: clean up and unify linker scripts
Especially arm.ld needed some cleaning up. Other than that, I've made sure the two linker scripts look similar where possible.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gen-device-svd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gen-device-svd.py b/tools/gen-device-svd.py
index b2e86ebba..f5637f8f6 100755
--- a/tools/gen-device-svd.py
+++ b/tools/gen-device-svd.py
@@ -278,8 +278,8 @@ Default_Handler:
.global __isr_vector
// Interrupt vector as defined by Cortex-M, starting with the stack top.
// On reset, SP is initialized with *0x0 and PC is loaded with *0x4, loading
- // __StackTop and Reset_Handler.
- .long __StackTop
+ // _stack_top and Reset_Handler.
+ .long _stack_top
.long Reset_Handler
.long NMI_Handler
.long HardFault_Handler