diff options
Diffstat (limited to 'cortex-m-rt/asm.s')
-rw-r--r-- | cortex-m-rt/asm.s | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cortex-m-rt/asm.s b/cortex-m-rt/asm.s index 4636bc3..1f0e74d 100644 --- a/cortex-m-rt/asm.s +++ b/cortex-m-rt/asm.s @@ -1,10 +1,10 @@ # LLD requires that the section flags are explicitly set here - .section .HardFault, "ax" - .global HardFault + .section .HardFaultTrampoline, "ax" + .global HardFaultTrampoline # .type and .thumb_func are both required; otherwise its Thumb bit does not # get set and an invalid vector table is generated - .type HardFault,%function + .type HardFaultTrampoline,%function .thumb_func -HardFault: +HardFaultTrampoline: mrs r0, MSP - b UserHardFault + b HardFault |