summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/rand48.3
diff options
context:
space:
mode:
authorguenther <>2015-11-10 04:14:03 +0000
committerguenther <>2015-11-10 04:14:03 +0000
commit5651c0192047b065735a7a8aba261e465338ead7 (patch)
tree6d0e63d20e0eee5e59decf6cc99b8bbc76d33970 /src/lib/libc/stdlib/rand48.3
parente5a0272a073ca8207e74df103d4a339ca402e6c0 (diff)
downloadopenbsd-5651c0192047b065735a7a8aba261e465338ead7.tar.gz
openbsd-5651c0192047b065735a7a8aba261e465338ead7.tar.bz2
openbsd-5651c0192047b065735a7a8aba261e465338ead7.zip
libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()
stubs for the executable from crtbegin.o into libc, which lets them be excluded from static links that don't use them. For this, drop the normal crt{begin,end}S.o from libc.so: the .init and .fini sections for libc aren't called at the right times anyway, so it's good that they're unused. libc.so just needs __guard_local and the .note.openbsd.ident section, so add them to stack_protector.c for now (this will be improved) "good time" deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/rand48.3')
0 files changed, 0 insertions, 0 deletions