mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-30 04:10:08 +08:00
12 lines
185 B
ArmAsm
12 lines
185 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
|
||
|
.section .note.GNU-stack,"",%progbits
|