<errno.h>: Add ENOTRECOVERABLE and EOWNERDEAD.These errno constants are really for robust mutexes which we do notsupport. However, llvm seems to be abusing ENOTRECOVERABLE for otherpurposes, so j
<errno.h>: Add ENOTRECOVERABLE and EOWNERDEAD.These errno constants are really for robust mutexes which we do notsupport. However, llvm seems to be abusing ENOTRECOVERABLE for otherpurposes, so just add them both.Reported-by: tuxillo
show more ...
Adjust makefiles for GCC80 update.
libc/stdlib: Add __cxa_thread_atexit_impl() hook.The __cxa_thread_atexit_impl() helper is needed for mainly c++ runtimelibraries to support destructors for thread local storage using LIFO.The _th
libc/stdlib: Add __cxa_thread_atexit_impl() hook.The __cxa_thread_atexit_impl() helper is needed for mainly c++ runtimelibraries to support destructors for thread local storage using LIFO.The _thread_finalize() is implemented based on OpenBSD variant with fewexceptions: less restrictive destructors calling scheme and c++ runtimepreserves implementation details how it orders (or even uses) this libcaddition. Based on other BSDs and libsdc++/libc++ code this is leastintrusive method to have pthread_exit() hooks in libc runtime. By thelooks, in base system nothing was using libstdc++ internal version.While there, enable __cxa_thread_atexit_impl() usage in gcc80 libstdc++.
gcc80: Add pregenerated headers.
gcc80: Bring in makefiles but leave them unhooked.Makefile infrastructure was reused from gcc50 one writen by John Marino.