Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-06-06 11:31:35 +00:00
Code Issues Projects Releases Wiki Activity
musl/arch/m68k/crt_arch.h

15 lines
254 B
C
Raw Normal View History

add m68k port 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.
2018-06-14 14:26:30 -04:00
__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"
);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 44ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API