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
commit466b5427ac698897c6653527fee5803e78882ff3 (patch)
tree938d46655895003567e488cc45a151e8240a82ab /src/regress/lib/libc
parentcb7c5dafb56feec1bf690b3a2894c6661680a6cb (diff)
downloadopenbsd-466b5427ac698897c6653527fee5803e78882ff3.tar.gz
openbsd-466b5427ac698897c6653527fee5803e78882ff3.tar.bz2
openbsd-466b5427ac698897c6653527fee5803e78882ff3.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