about summary refs log tree commit diff
path: root/arch/m68k/crt_arch.h
blob: 48a42f29e288df5097a44d5c74f23e488fb6c7c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
__asm__(
".text\n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
".global " START "\n"
START ":\n"
"	suba.l %fp,%fp \n"
"	movea.l %sp,%a0 \n"
"	lea _DYNAMIC-.-8,%a1 \n"
"	pea (%pc,%a1) \n"
"	pea (%a0) \n"
"	lea " START "_c-.-8,%a1 \n"
"	jsr (%pc,%a1) \n"
);