Move __cxa_thread_atexit* to its own .c file to avoid pulling the code
authorguenther <guenther@openbsd.org>
Sat, 16 Dec 2017 20:06:55 +0000 (20:06 +0000)
committerguenther <guenther@openbsd.org>
Sat, 16 Dec 2017 20:06:55 +0000 (20:06 +0000)
commit720afc0eea9594cc39e94e9ff3059afbb0ab9593
treee0bd94023227a3c013eb92ad0ef505430f4a8e3c
parent8bd97070fc97477917d8be4de006315dbdd9b7e7
Move __cxa_thread_atexit* to its own .c file to avoid pulling the code
(w/ _dlctl reference) into static executables.  It's all Mark's code so
put his preferred copyright on it.

ok kettenis@
lib/libc/stdlib/Makefile.inc
lib/libc/stdlib/atexit.c
lib/libc/stdlib/atexit.h
lib/libc/stdlib/thread_atexit.c [new file with mode: 0644]