summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement ldconfig functionality for ELF. The hints are stored injdp1998-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints". These hints consist only of the directory search path. There is no hash table as in the a.out hints, because ELF doesn't have to search for the file with the highest minor version number. (It doesn't have minor version numbers at all.) A single run of ldconfig updates either the a.out hints or the ELF hints, but not both. The set of hints to process is selected in the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout" or "-elf" command line option. The rationale is that you probably want to search different directories for ELF than for a.out. "ldconfig -r" is faked up to produce output like we are used to, except that for ELF there are no minor version numbers. This should enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports even for ELF. I implemented the ELF functionality in a new source file, with an eye toward eliminating the a.out code entirely at some point in the future.
* Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.peter1998-06-121-2/+2
| | | | | Without this, <link.h> defines stuff for elf linking which is not what ldconfig needs.
* Build ldconfig in /sbin environment directly, rather than under the gnu ldpeter1998-06-011-6/+4
| | | | directory. The rcs files were repository copied.
* Configure static linkage in the normal way (default to -static usingbde1997-06-291-2/+2
| | | | NOSHARED?= yes).
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Updates to deal with ld.so.hints version 2. It now deals with thepeter1996-10-011-2/+2
| | | | | | | | ldconfig path (from NetBSD). I added code to make sure there were no duplicates in the path when multiple ldconfig -m's were used. Reviewed by: nate, jdp Obtained from: NetBSD (partly)
* Better link ldconfig static instead dynamic.ats1994-04-131-2/+2
|
* This is Paul K's latest set of ld changes. A commit was necessary at thisjkh1994-02-131-5/+5
| | | | | | | | | | late stage due to the fact that link.h was copyright Sun Microsystems. This version of ld sync's us up with NetBSD's ld and supports compatablily with NetBSD's -[zZ] flags (which we had reversed). Compiling with this new ld will give you RRS warnings for libraries which do not contain .type infomation - these wsarnings are harmless and will go away as soon as you recompile your libraries (cd /usr/src; make libraries).
* Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIRnate1993-12-161-2/+2
| | | | in front of BINDIR definition.
* Cahnged ldconfig.0 to ldconfig.8 for our man system.paul1993-11-091-2/+2
|
* Updated to newest ld from pk.paul1993-11-091-2/+2
| | | | | | | | | | | | lib.c: Pull in archives containing definitions needed by shared objects. warnings.c: Less spurious "undefined symbol" msgs for shared library defined symbols. ld.c: Do a better job of recognising data in text segments, eg. `const char []'. shlib.c,ld/rtld/{Makefile rtld.c} Use strsep() in stead of strtok() and restore colons in eg. env. vars.
* Changed ldconfig.0 to ldconfig.8 for our man setup.paul1993-11-061-2/+2
|
* Imported NetBSD's ld for shared libs.paul1993-11-031-0/+13
OpenPOWER on IntegriCloud