reintroduce calloc elison of memset for direct-mmapped allocations
[musl.git] / arch / arm / crt_arch.h
blob99508b1db405eebf33c1be343e0a13e7bb9e02cd
1 __asm__(
2 ".text \n"
3 ".global " START " \n"
4 ".type " START ",%function \n"
5 START ": \n"
6 " mov fp, #0 \n"
7 " mov lr, #0 \n"
8 " ldr a2, 1f \n"
9 " add a2, pc, a2 \n"
10 " mov a1, sp \n"
11 "2: and ip, a1, #-16 \n"
12 " mov sp, ip \n"
13 " bl " START "_c \n"
14 ".weak _DYNAMIC \n"
15 ".hidden _DYNAMIC \n"
16 ".align 2 \n"
17 "1: .word _DYNAMIC-2b \n"