summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-02-09 06:05:25 +0000
committerjdp <jdp@FreeBSD.org>1998-02-09 06:05:25 +0000
commit4538098d0b3fbe09f64c578b730483a6e77ff40f (patch)
tree23d1dd6188892e0850b5b2dcd638bde40de3ac33 /sys/kern/kern_resource.c
parent7764f84ad9e53692980602aef6b4d76b001692ce (diff)
downloadFreeBSD-src-4538098d0b3fbe09f64c578b730483a6e77ff40f.zip
FreeBSD-src-4538098d0b3fbe09f64c578b730483a6e77ff40f.tar.gz
Move the trampolines for dlopen and related functions from crt0.o
into libc. This reduces the size of every dynamically linked executable by 248 bytes, and it reduces the size of static executables by a lesser amount. It also eliminates some global namespace pollution. With this change in place, the source for dlfcn.h should probably be moved to "/usr/src/include". I'll save that for another day. Compatibility note: Programs which use dlopen, if compiled on systems with this change, will not run on systems with a libc from prior to this change. Very few programs use dlopen, so I think that is OK.
Diffstat (limited to 'sys/kern/kern_resource.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud