tinycc/lib/alloca-arm.S
2021-01-23 19:08:59 +01:00

11 lines
146 B
ArmAsm

.text
.align 2
.global alloca
.type alloca, %function
alloca:
rsb sp, r0, sp
bic sp, sp, #7
mov r0, sp
mov pc, lr
.size alloca, .-alloca