musl/arch
rofl0r 526900484c arm: add __aeabi_atexit()
arm eabi requires this symbol for static C++ dtors.
usually it is provided by libstdc++, but when a C++ program
doesn't use the std lib (free-standing), the libc has to provide
it.
this was encountered while building transmission, which
depends on such a C++ library (libutp).

this function is nearly identical to __cxa_atexit, but it has the
order of argumens swapped for "performance reasons".
see page 25 of

 http://infocenter.arm.com/help/topic/com.arm.doc.ihi0043d/IHI0043D_rtabi.pdf

there are other aeabi specific C++ support functions missing, but
it is not clear yet that GCC makes use of them so we omit them for
the moment.
2013-02-06 22:46:19 +01:00
..
arm arm: add __aeabi_atexit() 2013-02-06 22:46:19 +01:00
i386 add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
microblaze add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
mips add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
powerpc add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
x86_64 add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00