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.
This commit is contained in:
Ayke van Laethem
2018-09-21 15:06:49 +02:00
parent 2122780309
commit 5b0aaf0d39
3 changed files with 28 additions and 41 deletions
+2 -2
View File
@@ -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