Files

14 lines
377 B
ArmAsm

.syntax unified
.cpu cortex-a7
.thumb
@ S6: compensation for ldmia.w sp!,{r2-r9,sl,pc} at 0x8017afc
@ (pc slot gets clobbered to 0 at runtime). Rebuild frame regs
@ from stack, return to caller 0x8013ba5.
.text
.global s6_stub
s6_stub:
ldmia.w sp!, {r2-r9, sl, lr}
movw lr, #:lower16:0x8013ba5
movt lr, #:upper16:0x8013ba5
bx lr