diff options
author | guenther <> | 2015-11-10 04:14:03 +0000 |
---|---|---|
committer | guenther <> | 2015-11-10 04:14:03 +0000 |
commit | 742e63701a436a9845e7a5e5da8c71dfd2785228 (patch) | |
tree | 6d0e63d20e0eee5e59decf6cc99b8bbc76d33970 /src/lib/libc/stdlib/radixsort.c | |
parent | 544136baba8039e8a86575cb33eda35fcf3bb9f7 (diff) | |
download | openbsd-742e63701a436a9845e7a5e5da8c71dfd2785228.tar.gz openbsd-742e63701a436a9845e7a5e5da8c71dfd2785228.tar.bz2 openbsd-742e63701a436a9845e7a5e5da8c71dfd2785228.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/radixsort.c')
0 files changed, 0 insertions, 0 deletions