musl/crt/i386/crtn.s
Rich Felker a6d272127b align stack properly for calling global ctors/dtors on x86[_64]
failure to do so was causing crashes on x86_64 when ctors used SSE,
which was first observed when ctors called variadic functions due to
the SSE prologue code inserted into every variadic function.
2013-06-03 17:32:42 -04:00

8 lines
69 B
ArmAsm

.section .init
add $12,%esp
ret
.section .fini
add $12,%esp
ret