01b2cfed8e78c7a5bd54f616a120ff074cf041d2
[platform/upstream/bash.git] / lib / malloclib / i386-alloca.s
1         .file "alloca.s"
2         .text
3         .align 4
4         .def alloca; .val alloca; .scl 2; .type 044; .endef
5         .globl alloca
6 alloca:
7         popl %edx
8         popl %eax
9         addl $3,%eax
10         andl $0xfffffffc,%eax
11         subl %eax,%esp
12         movl %esp,%eax
13         pushl %eax
14         pushl %edx
15         ret
16         .def alloca; .val .; .scl -1; .endef