2015-04-13 06:56:26 +00:00
|
|
|
__asm__(
|
|
|
|
".global " START " \n"
|
|
|
|
START ": \n"
|
|
|
|
" mova 1f, r0 \n"
|
|
|
|
" mov.l 1f, r5 \n"
|
|
|
|
" add r0, r5 \n"
|
|
|
|
" mov r15, r4 \n"
|
|
|
|
" mov #-16, r0 \n"
|
|
|
|
" and r0, r15 \n"
|
|
|
|
" bsr " START "_c \n"
|
|
|
|
" nop \n"
|
|
|
|
".align 2 \n"
|
|
|
|
".weak _DYNAMIC \n"
|
|
|
|
".hidden _DYNAMIC \n"
|
|
|
|
"1: .long _DYNAMIC-. \n"
|
|
|
|
);
|
2014-03-16 21:17:28 +00:00
|
|
|
|
|
|
|
/* used by gcc for switching the FPU between single and double precision */
|
2015-04-13 06:56:26 +00:00
|
|
|
#ifdef SHARED
|
|
|
|
__attribute__((__visibility__("hidden")))
|
|
|
|
#endif
|
2014-03-16 21:17:28 +00:00
|
|
|
const unsigned long __fpscr_values[2] = { 0, 0x80000 };
|