mirror of
git://git.musl-libc.org/musl
synced 2024-12-26 08:32:26 +00:00
f81e44a0d9
three ABIs are supported: the default with 68881 80-bit fpu format and results returned in floating point registers, softfloat-only with the same format, and coldfire fpu with IEEE single/double only. only the first is tested at all, and only under qemu which has fpu emulation bugs. basic functionality smoke tests have been performed for the most common arch-specific breakage via libc-test and qemu user-level emulation. some sysvipc failures remain, but are shared with other big endian archs and will be fixed separately.
15 lines
254 B
C
15 lines
254 B
C
__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"
|
|
);
|