Date: Tue, 8 Sep 1998 18:21:26 -0700 (PDT) From: John Polstra <jdp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/include objformat.h Makefile src/sbin/ldconfig ldconfig.c src/lib/libc/gen getobjformat.3 getobjformat.c Makefile.inc src/sys/alpha/include param.h src/sys/i386/include param.h Message-ID: <199809090121.SAA00997@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 1998/09/08 18:21:26 PDT Modified files: include Makefile sbin/ldconfig ldconfig.c lib/libc/gen Makefile.inc sys/alpha/include param.h sys/i386/include param.h Added files: include objformat.h lib/libc/gen getobjformat.3 getobjformat.c Log: Add a new library function getobjformat(). It checks all the standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an indication of the user's preferred object file format. This consolidates some code that was starting to be duplicated in more and more places. Use the new function in ldconfig. Note: I don't think that gcc should use getobjformat(), even though it could. The compiler should limit itself to functions that are widespread, to ease porting and cross-compilation. Revision Changes Path 1.81 +2 -2 src/include/Makefile 1.28 +15 -72 src/sbin/ldconfig/ldconfig.c 1.50 +5 -3 src/lib/libc/gen/Makefile.inc 1.7 +8 -1 src/sys/alpha/include/param.h 1.46 +12 -1 src/sys/i386/include/param.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809090121.SAA00997>