musl/arch/arm/bits
Rich Felker afc35d5efd replace bad cancellation cleanup abi with a sane one
the old abi was intended to duplicate glibc's abi at the expense of
being ugly and slow, but it turns out glib was not even using that abi
except on non-gcc-compatible compilers (which it doesn't even support)
and was instead using an exceptions-in-c/unwind-based approach whose
abi we could not duplicate anyway without nasty dwarf2/unwind
integration.

the new abi is copied from a very old glibc abi, which seems to still
be supported/present in current glibc. it avoids all unwinding,
whether by sjlj or exceptions, and merely maintains a linked list of
cleanup functions to be called from the context of pthread_exit. i've
made some care to ensure that longjmp out of a cleanup function should
work, even though it is not required to.

this change breaks abi compatibility with programs which were using
pthread cancellation, which is unfortunate, but that's why i'm making
the change now rather than later. considering that most pthread
features have not been usable until recently anyway, i don't see it as
a major issue at this point.
2012-02-09 02:33:08 -05:00
..
alltypes.h.sh don't define wchar_t on c++ 2011-10-15 00:28:49 -04:00
endian.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
errno.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
fcntl.h fix fcntl O_* flags for arm 2011-10-05 00:26:49 -04:00
fenv.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
float.h fix incorrect long double parameters on arm (and other future ports) 2011-09-19 16:59:10 -04:00
ioctl.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
ipc.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
limits.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
mman.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
msg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
posix.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
reg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
setjmp.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
shm.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
signal.h cleanup redundancy in bits/signal.h versions 2011-09-19 20:02:12 -04:00
socket.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
stat.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
statfs.h fix the definition of struct statvfs to match lsb abi 2011-09-19 23:35:48 -04:00
stdarg.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
stdint.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
syscall.h update syscalls with off_t arguments to handle argument alignment, if needed 2011-09-21 20:11:10 -04:00
termios.h initial commit of the arm port 2011-09-18 16:44:54 -04:00
user.h fix some details in ugly stuff that doesn't belong in libc 2011-10-17 12:23:04 -04:00
wchar.h fix the type of wchar_t on arm; support wchar_t varying with arch 2011-09-19 17:39:51 -04:00