summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc
diff options
context:
space:
mode:
authorkettenis <>2013-12-28 18:38:42 +0000
committerkettenis <>2013-12-28 18:38:42 +0000
commit059e8d1417ca56903c7f426e4a8a23db0b19a7e7 (patch)
tree938d46655895003567e488cc45a151e8240a82ab /src/regress/lib/libc
parent80578de9d4665c9f00dd5d4f1e96f2547d56e4d1 (diff)
downloadopenbsd-059e8d1417ca56903c7f426e4a8a23db0b19a7e7.tar.gz
openbsd-059e8d1417ca56903c7f426e4a8a23db0b19a7e7.tar.bz2
openbsd-059e8d1417ca56903c7f426e4a8a23db0b19a7e7.zip
Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass the
right __dso_handle and have dlopen'ed shared objects run their atexit handlers when they get unloaded. This is what Linux does, and several ports depend on this behaviour (and will crash upon exit without this chang). Based on an earlier diff from matthew@ Tested by ajacoutot@ ok deraadt@
Diffstat (limited to 'src/regress/lib/libc')
0 files changed, 0 insertions, 0 deletions