Date: Sun, 8 Feb 1998 22:05:33 -0800 (PST) From: John Polstra <jdp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/csu/i386 Makefile crt0.c dladdr.3 dlopen.3 src/lib/libc/gen dladdr.3 dlfcn.c dlopen.3 Makefile.inc Message-ID: <199802090605.WAA17763@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 1998/02/08 22:05:33 PST
Modified files:
lib/csu/i386 Makefile crt0.c
lib/libc/gen Makefile.inc
Added files:
lib/libc/gen dladdr.3 dlfcn.c dlopen.3
Removed files:
lib/csu/i386 dladdr.3 dlopen.3
Log:
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.
Revision Changes Path
1.35 +1 -5 src/lib/csu/i386/Makefile
1.33 +17 -119 src/lib/csu/i386/crt0.c
1.42 +7 -3 src/lib/libc/gen/Makefile.inc
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802090605.WAA17763>
