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`.
This commit is contained in:
Ayke van Laethem
2023-03-06 00:06:08 +01:00
committed by Ron Evans
parent de281191e0
commit ea97c60959
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -1422,6 +1422,9 @@ __isr_vector:
for _, intr := range device.Interrupts {
fmt.Fprintf(w, " IRQ %s_IRQHandler\n", intr.Name)
}
w.WriteString(`
.size __isr_vector, .-__isr_vector
`)
return w.Flush()
}