History log of /fuchsia/zircon/third_party/ulib/musl/src/exit/exit.c
Revision Date Author Comments
# 6c959cfa 30-Nov-2017 George Kulakowski <kulakowski@google.com>

[libc] Add a __libc_extensions_fini hook

Some things that initialize structures in __libc_extensions_init want
to clean up after themselves at program shutdown time. Currently they
are doing this via exit handlers. This cleanup then ends up
interleaved with other exit time handlers that depend on
__libc_extensions_init-ed functionality.

This adds a hook for those extensions that runs after C exit handlers
have run.

MA-368 #progress

Change-Id: Ic13b44ad7bc51fcd5da4975009d70d839b98c686


# e942db38 31-Mar-2017 Petr Hosek <phosek@google.com>

[musl] Add implementation of __cxa_thread_atexit_impl

C++ ABI expects this function to be provided by the C library, libcxxabi
it has its own implementation that is used in case when C library
doesn't provide one, but that implementation has number of limitations
and pulls in additional dependencies which are undesirable
(__dso_handle).

This change adds implementation of __cxa_thread_atexit_impl into our C
library. This version is resembles the implementation __cxa_atexit, and
is significantly simpler than implementations of
__cxa_thread_atexit_impl in other C libraries because our C library
doesn't support dlclose.

MG-655

Change-Id: I1f79853f9cff3b8ecf9c35419f74bf3463f3df58


# e1b1c592 05-Apr-2017 Roland McGrath <mcgrathr@google.com>

[ulib][musl] Reduce unnecessary exports

There are still lots of symbols in the export list that should not
really be part of the ABI. But this picks off some low-hanging fruit.

Change-Id: I86168858de89bd327fb70cd4ca639caa1e502702


# 53b9e1c8 15-Jun-2016 The Fuchsia Authors <authors@fuchsia.local>

[magenta] Initial commit