History log of /src/sbin/ldconfig |
Revision | Date | Author | Comments |
1.28 | 18-Mar-2014 |
riastradh | Merge riastradh-drm2 to HEAD.
|
1.27 | 18-Jul-2013 |
matt | Use MACHINE_CPU with m68k (m68000 will not be matched due to MKPIC=no)
|
1.26 | 05-Feb-2013 |
matt | branches: 1.26.2; There are other little endian arm machine_arches other than "arm"
|
1.25 | 23-Aug-2012 |
joerg | branches: 1.25.2; Revert last, it breaks the tricks xsrc uses.
|
1.24 | 23-Aug-2012 |
joerg | Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if SHLIBDIR differs from /usr/lib.
|
1.23 | 06-Jul-2010 |
mrg | branches: 1.23.6; remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
|
1.22 | 31-Oct-2008 |
mrg | make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc, maybe all mips and all arm as well.
|
1.21 | 12-Nov-2002 |
itohy | branches: 1.21.32; 1.21.40; MKDYNAMICROOT for a.out
|
1.20 | 19-Aug-2002 |
lukem | Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
|
1.19 | 24-Feb-2002 |
matt | Also build ldconfig is MACHINE_ARCH is arm or vax buf OBJECT_FMT=ELF
|
1.18 | 21-Mar-2001 |
tsutsui | Make and install ldconfig on ELF m68k ports.
|
1.17 | 29-Sep-2000 |
fvdl | Modification to previous: only build for ports that are a.out or used to be a.out. No sense in building for ports that never were a.out.
|
1.16 | 29-Sep-2000 |
fvdl | Build this on ELF as well. When on an ELF system, only look in _PATH_EMUL_AOUT/etc/ld.so.conf.
|
1.15 | 17-Dec-1998 |
thorpej | branches: 1.15.10; Only build ldconfig on a.out platforms. Everyone else still builds the manual page.
|
1.14 | 15-Dec-1998 |
pk | Adapt to new location in `src/sbin'.
|
1.13 | 02-Mar-1998 |
cgd | allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
|
1.12 | 23-Jun-1997 |
mrg | install all man pages.
|
1.11 | 16-Apr-1997 |
christos | Ld directory reorganization: - separate out the common files used by rtld ldd ld - move machine dependent files into arch - move ld in its own directory - factor out .PATH and CFLAGS common to all Makefiles
|
1.10 | 06-Mar-1995 |
cgd | complete remove special search dirs, use NetBSD Id tag.
|
1.9 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
1.8 | 10-Jun-1994 |
pk | Conversion to err()/warn() for error reports.
|
1.7 | 10-Dec-1993 |
mycroft | Minor cleanup.
|
1.6 | 08-Dec-1993 |
mycroft | Use MACHINE_ARCH.
|
1.5 | 08-Dec-1993 |
pk | *** empty log message ***
|
1.4 | 05-Dec-1993 |
cgd | MACHINE_ARCH support
|
1.3 | 02-Dec-1993 |
mycroft | Remove ${DESTDIR} from BINDIR.
|
1.2 | 03-Nov-1993 |
cgd | add -static to 'LDFLAGS', as it goes in /sbin
|
1.1 | 23-Oct-1993 |
pk | Utility to maintain shared library lookup "hints". Does business in `/var/run/ld.so.hints'.
|
1.15.10.1 | 18-Oct-2000 |
tv | Pullup 1.16 and 1.17 [fvdl]: Modification to previous: only build for ports that are a.out or used to be a.out. No sense in building for ports that never were a.out.
|
1.21.40.1 | 06-Nov-2008 |
snj | branches: 1.21.40.1.4; Pull up following revision(s) (requested by mrg in ticket #20): compat/libexec/ld.elf_so/Makefile: revision 1.2 distrib/sets/lists/base/md.shark: revision 1.7 distrib/sets/lists/base/md.vax: revision 1.26 distrib/sets/lists/base/md.i386: revision 1.130 distrib/sets/lists/base/ad.arm: revision 1.10 distrib/sets/lists/comp/md.shark: revision 1.13 distrib/sets/lists/comp/md.sparc: revision 1.68 distrib/sets/lists/comp/ad.arm: revision 1.31 distrib/sets/lists/comp/md.vax: revision 1.35 distrib/sets/lists/comp/md.i386: revision 1.108 distrib/sets/lists/base/md.sparc: revision 1.75 distrib/sets/lists/comp/md.pmax: revision 1.59 libexec/ld.aout_so/Makefile: revision 1.46 sbin/ldconfig/Makefile: revision 1.22 make MKPIC=no builds work on i368, shark, vax, pmax, sgimips, sparc, maybe all mips and all arm as well.
|
1.21.40.1.4.1 | 24-Mar-2014 |
matt | Make these work with a machine_arch of armv7
|
1.21.32.1 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.23.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.25.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.25.2.1 | 25-Feb-2013 |
tls | resync with head
|
1.26.2.1 | 23-Jul-2013 |
riastradh | sync with HEAD
|
1.15 | 30-Apr-2008 |
martin | Convert TNF licenses to new 2 clause variant
|
1.14 | 01-Oct-2002 |
wiz | branches: 1.14.32; 1.14.34; New sentence, new line. By Robert Elz with minimal fixes.
|
1.13 | 16-Nov-2001 |
wiz | Sort sections, use standard headers, slight markup improvement.
|
1.12 | 08-Oct-2000 |
bjh21 | Miscellaneous -mdoc cleanups.
|
1.11 | 08-Oct-2000 |
bjh21 | Mention that ldconfig is a.out only. Should fix PR bin/10299.
|
1.10 | 22-Feb-1999 |
msaitoh | branches: 1.10.10; Add note about LD_PRELOAD
|
1.9 | 05-Sep-1998 |
pk | Assign my copyrights to TNF.
|
1.8 | 05-Jan-1998 |
cgd | RCS Id police
|
1.7 | 27-Aug-1997 |
thorpej | Document new flags and internal processing of ld.so.conf changes.
|
1.6 | 05-Jan-1997 |
mrg | xref ld.so.conf.5
|
1.5 | 03-Jul-1996 |
thorpej | RCS id police.
|
1.4 | 20-Jun-1995 |
pk | Add a `merge' option. Use err() & warn().
|
1.3 | 24-Jun-1994 |
pk | copyright notice.
|
1.2 | 16-Jun-1994 |
pk | Update man page. Use `__progname'.
|
1.1 | 23-Oct-1993 |
pk | Utility to maintain shared library lookup "hints". Does business in `/var/run/ld.so.hints'.
|
1.10.10.1 | 13-Nov-2000 |
tv | Pullup 1.11 [releng]: Mention that ldconfig is a.out only. Should fix PR bin/10299.
|
1.14.34.1 | 18-May-2008 |
yamt | sync with head.
|
1.14.32.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.48 | 04-Jan-2011 |
wiz | Fix file descriptor leak. Found by cppcheck.
|
1.47 | 13-May-2010 |
tnozaki | cast isblank(3)'s argument to unsigned char.
|
1.46 | 16-Aug-2009 |
martin | Add <sys/exec_aout.h> includes
|
1.45 | 17-Mar-2009 |
lukem | fix sign-compare issues
|
1.44 | 28-Apr-2008 |
martin | branches: 1.44.6; Remove clause 3 and 4 from TNF licenses
|
1.43 | 26-Mar-2006 |
christos | branches: 1.43.20; 1.43.22; Coverity CID 2766: Don't leak memory.
|
1.42 | 21-Mar-2006 |
christos | Coverity CID 1601: Fix memory leak.
|
1.41 | 21-Mar-2006 |
christos | Coverity CID 1603: Fix memory leak.
|
1.40 | 02-Jun-2005 |
lukem | appease gcc -Wuninitialized
|
1.39 | 05-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations.
|
1.38 | 28-Oct-2004 |
dsl | Add (unsigned char) cast to isdigit call
|
1.37 | 05-Jan-2004 |
jmmv | Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
1.36 | 23-Jun-2003 |
agc | Add NetBSD RCS Ids.
|
1.35 | 05-Jan-2003 |
kristerw | Correct length of a memcpy. From Alan Barrett in PR 18620.
|
1.34 | 01-Nov-2001 |
lukem | fix a couple of -Wshadow warnings
|
1.33 | 19-Feb-2001 |
cgd | convert to use getprogname()
|
1.32 | 10-Nov-2000 |
enami | Cosmetic change; actually split a line which looks like as if two lines.
|
1.31 | 29-Sep-2000 |
fvdl | Build this on ELF as well. When on an ELF system, only look in _PATH_EMUL_AOUT/etc/ld.so.conf.
|
1.30 | 01-Jun-2000 |
matt | branches: 1.30.2; make ldconfig.c not always fail.
|
1.29 | 27-May-2000 |
matt | Add some code to test libraries to make sure they are a.out before adding them to hints.
|
1.28 | 27-May-2000 |
matt | branches: 1.28.2; Changes to put the COMPAT_AOUT code into ld.aout_so. Search <dir> for <lib> then search /emul/aout/<dir> for <lib>. To make sure we don't get false postives on ELF libraries we make the .so is a ZMAGIC dynamic library.
|
1.27 | 16-Jul-1999 |
christos | - don't core-dump if hints file is too short - unmap the space and close fd's - bcopy -> memcpy - stat the file to get the size to map, instead of doing multiple mmaps.
|
1.26 | 17-Jun-1999 |
thorpej | MAP_COPY -> MAP_PRIVATE
|
1.25 | 09-Apr-1999 |
agc | Plug a file descriptor leak.
|
1.24 | 08-Apr-1999 |
drochner | !silent -> verbose, to make it compile again (there is no "silent")
|
1.23 | 08-Apr-1999 |
agc | If there is no /etc/ld.so.conf, it is not a fatal error. Correct the return value from the function so that the exit value to the shell is correct.
|
1.22 | 15-Dec-1998 |
pk | branches: 1.22.2; Adapt to new location in `src/sbin'.
|
1.21 | 15-Dec-1998 |
pk | Pull in proper headers; deal with compiler warnings; miscelleneous KNF.
|
1.20 | 05-Sep-1998 |
pk | Assign my copyrights to TNF.
|
1.19 | 20-Feb-1998 |
mycroft | Fill in missing (default) mmap(2) flags.
|
1.18 | 26-Aug-1997 |
thorpej | Enhancements from Jim Bernard <jbernard@tater.mines.edu>, to support processing of /etc/ld.so.conf in ld.so itself (rather than in /etc/rc): - added do_conf function and call to it in main to implement internal processing of /etc/ld.so.conf - moved maintenance of dir_list to dodir, with an added argument to dodir to specify whether dir_list should be updated - added option '-c' to suppress processing of /etc/ld.so.conf - added option '-S' to suppress processing of std directories (but not /etc/ld.so.conf) - modified option -s to suppress processing of _both_ std directories and /etc/ld.so.conf (i.e., it is equivalent to -cS)--this was done so that users and scripts that interpret -s as meaning "process only directories specified on the command line" would not be startled
From PR #4031. One change was not committed, since it was unnecessary (option variables are in the BSS, and do not need to be initialized to 0 explicitly).
Plus one change from me: - getopt() returns -1 when completed, not EOF.
|
1.17 | 16-Apr-1997 |
christos | mktemp() -> mkstemp()
|
1.16 | 03-Jan-1997 |
mikel | eliminate valueless return from main(); PR bin/3073.
|
1.15 | 03-Jul-1996 |
thorpej | RCS id police.
|
1.14 | 30-Jun-1996 |
jtc | Add '-m' to usage string; Fixes PR #2580
|
1.13 | 09-Jan-1996 |
pk | Create v.2 hint files. Note: don't bother to understand v.1 files..
|
1.12 | 25-Aug-1995 |
pk | branches: 1.12.2; Just use umask(0); Use mktemp() for temporary file creation.
|
1.11 | 25-Aug-1995 |
pk | Ensure the hints file is readable.
|
1.10 | 05-Aug-1995 |
pk | Parse library names better; takes care of PR#1291
|
1.9 | 20-Jun-1995 |
pk | Add a `merge' option. Use err() & warn().
|
1.8 | 16-Jun-1994 |
pk | Update man page. Use `__progname'.
|
1.7 | 10-Jun-1994 |
pk | Conversion to err()/warn() for error reports.
|
1.6 | 28-Mar-1994 |
cgd | no more MAP_FILE
|
1.5 | 29-Jan-1994 |
jtc | Fix spelling error in Copyright notice
|
1.4 | 28-Jan-1994 |
pk | Remove reference to `mywrite()'.
|
1.3 | 13-Jan-1994 |
pk | Don't barf if builtin directories happen to be non-existent.
|
1.2 | 08-Dec-1993 |
pk | *** empty log message ***
|
1.1 | 23-Oct-1993 |
pk | Utility to maintain shared library lookup "hints". Does business in `/var/run/ld.so.hints'.
|
1.12.2.1 | 16-Feb-1996 |
pk | Pick up fixes from -current for patch2.
|
1.22.2.3 | 27-Jun-2000 |
he | Pull up revision 1.30 (requested by matt): Do not treat non-existance of directories under /emul/aout as errors.
|
1.22.2.2 | 01-Jun-2000 |
he | Pull up revisions 1.28-1.29 (requested by matt): Enable searching for libraries under /emul/aout, and make sure that ELF libraries are not erroneously accepted.
|
1.22.2.1 | 20-Oct-1999 |
he | Pull up revisions 1.23-1.25 (requested by agc): Do not handle a missing /etc/ld.so.conf as a fatal error, and plug a file descriptor leak.
|
1.28.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.30.2.1 | 18-Oct-2000 |
tv | Pullup 1.31 [fvdl]: Build this on ELF as well. When on an ELF system, only look in _PATH_EMUL_AOUT/etc/ld.so.conf.
|
1.43.22.1 | 18-May-2008 |
yamt | sync with head.
|
1.43.20.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.44.6.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.2 | 21-Mar-2012 |
he | Convert from K&R to c89 function definitions.
|
1.1 | 06-Jul-2010 |
mrg | branches: 1.1.6; remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
|
1.1.6.1 | 17-Apr-2012 |
yamt | sync with head
|
1.1 | 06-Jul-2010 |
mrg | remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
|