diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-03-20 02:32:41 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-03-20 02:32:41 +0000 |
commit | 3924b0c2475a56d000c0c5cae2ca1660a97b489b (patch) | |
tree | d5f23aa4e0c292f35123ecaf9761158d7c5d71e6 /usr.sbin/iscsictl | |
parent | 4621abcf30c5f4ecef9340db8259e51bfabf6529 (diff) |
Rearrange C runtime bits: now that ld.so exports environ and __progname,
move their definitions and initialization in static links to libc.a
Make crt0 always invoke a new func _csu_finish() in libc to process the auxv
and to either register the ld.so cleanup function (in dynamic links) or
initialize environ and __progname and do MC_DISABLE_KBIND (in static links).
In libc, get pagesize from auxv; cache that between getpagesize() and
sysconf(_SC_PAGESIZE)
ok mpi@ "good time" deraadt@
Diffstat (limited to 'usr.sbin/iscsictl')
0 files changed, 0 insertions, 0 deletions