For this code, branch target alignment matters more than size.
@@ -5,7 +5,10 @@
// use the saved registers here, no saving needed.
// registers need to be
.pushsection ".init.irq","ax"
+ .balign 4
.globl _irq
+ .option push
+ .option norvc // Alignment matters more here
_irq:
addqxi sp,sp,0
@@ -55,3 +58,4 @@ _irq:
mret
.type _irq, @function
.size _irq, . - _irq
+ .option pop