aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2023-03-06 00:06:08 +0100
committerRon Evans <[email protected]>2023-03-08 07:09:46 +0100
commitea97c6095995c3e1900e133e1bf8d5a2ba361f04 (patch)
tree12bf31c003794b35ebd4ce9cdce38ceb925c35c6 /targets
parentde281191e09ae27d1b73214eb289a2a301c8e849 (diff)
downloadtinygo-ea97c6095995c3e1900e133e1bf8d5a2ba361f04.tar.gz
tinygo-ea97c6095995c3e1900e133e1bf8d5a2ba361f04.zip
builder: sizes: list interrupt vector as a pseudo-package for -size=full
This is another bit of memory that is now correctly accounted for in `-size=full`.
Diffstat (limited to 'targets')
-rw-r--r--targets/cortex-m-qemu.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/targets/cortex-m-qemu.s b/targets/cortex-m-qemu.s
index fdbecc8fa..685c7fd5c 100644
--- a/targets/cortex-m-qemu.s
+++ b/targets/cortex-m-qemu.s
@@ -23,6 +23,7 @@ Default_Handler:
.section .isr_vector, "a", %progbits
.global __isr_vector
+__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
// _stack_top and Reset_Handler.
@@ -54,3 +55,5 @@ Default_Handler:
IRQ DebugMon_Handler
IRQ PendSV_Handler
IRQ SysTick_Handler
+
+.size __isr_vector, .-__isr_vector