add arch/generic include fallback to build rules
[musl.git] / arch / i386 / crt_arch.h
blob43c8477a8174311f81d3391fbe11e71ae4136007
1 __asm__(
2 ".text\n"
3 ".weak _DYNAMIC \n"
4 ".hidden _DYNAMIC \n"
5 ".global " START "\n"
6 START ":\n"
7 " xor %ebp,%ebp \n"
8 " mov %esp,%eax \n"
9 " and $-16,%esp \n"
10 " push %eax \n"
11 " push %eax \n"
12 " call 1f \n"
13 "1: addl $_DYNAMIC-1b,(%esp) \n"
14 " push %eax \n"
15 " call " START "_c \n"