summaryrefslogtreecommitdiffstats
path: root/utils/ldconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* disable build warnings in utilsPeter S. Mazinger2011-03-031-1/+1
| | | | | | Disable some build warnings in utils. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* define attribute_noreturnBernhard Reutner-Fischer2009-08-101-2/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix compilationBernhard Reutner-Fischer2009-08-051-2/+2
| | | | | | wrong placed attribute_noreturn Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Don't shadow stat with a local variableRon2009-07-051-5/+5
| | | | | Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Don't shadow the err() function with a local varRon2009-07-051-2/+2
| | | | | | | gcc-4.4 barks about that. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make more utility functions staticRon2009-07-051-8/+8
| | | | | | | This keeps gcc-4.4 from nagging that they have no prototypes. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add noreturn attributes to some functions that won't ever do soRon2009-07-051-2/+2
| | | | | | | | | usage() is also made static in answer to warnings about no prototype. In __pthread_manager_event() we also have to drop the return statement, else gcc will in turn complain about a non-returning function having one. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* unify the headers/random defines into porting.h to avoid duplication/rotMike Frysinger2009-02-091-52/+25
|
* "make utils" now successfully makes utils for targetDenis Vlasenko2009-01-281-4/+4
|
* - fix for !GETOPT_LONGBernhard Reutner-Fischer2008-12-221-1/+0
|
* if chroot() failed, then reset "chroot_dir" to "." so that after we do our ↵Mike Frysinger2007-04-171-0/+1
| | | | fallback chdir(), we dont continue to prefix the chroot path ... fixes `ldconfig.host -r some/dir/`
* cleanup style; no functional changesMike Frysinger2007-04-171-772/+707
|
* fix ld.so.cache handling on no-mmu setupsMike Frysinger2007-04-171-1/+1
|
* remove newlines from warning messagesMike Frysinger2006-01-111-3/+3
|
* fix signed/unsigned warningsMike Frysinger2005-12-291-2/+2
|
* Allow ldconfig.host to build ld.so.cache for target, regardless ofEric Andersen2005-09-301-31/+112
| | | | the target system's byteorder
* cleanup, and prevent failures due to including architecture specificEric Andersen2005-01-121-7/+63
| | | | header files into ldconfig when building for the host.
* Remove the no-longer-needed #include <sys/user.h>Eric Andersen2005-01-111-1/+0
|
* Fix thinkoEric Andersen2004-12-231-2/+8
|
* Cleanup for when LDSO_CACHE_SUPPORT is disabledEric Andersen2004-12-221-20/+31
|
* Don't use PAGE_SIZE, instead just a local BUFFER_SIZE defineEric Andersen2004-12-091-4/+6
|
* Use PAGE_SIZE, not 4096Eric Andersen2004-12-081-4/+5
|
* Add type libc0 to cache_print().Joakim Tjernlund2004-10-061-2/+5
| | | | Always strip trailing slaches(/) from paths read from ld.so.conf.
* Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund2004-10-061-9/+8
| | | | | | dl-cache.h and make use of it. Also disables the lib-path-redundancy check for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT. From Peter Mazinger.
* This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen2004-10-031-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mazinger implements the changes suggested by me on the uclibc list. On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote: > What I think should be done is > > *) Someone that cares about USE_CACHE should fix that option > up to be sure it works, and give it a proper config entry > in extra/Configs/Config.in, and rename it to something > more appropriate such as LDSO_CACHE_SUPPORT. > > *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be included in the default library search path in > dl-elf.c, ldd, and ldconfig. > > *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib > should be excluded from the default library search path in > dl-elf.c, ldd, and ldconfig, and those wishing to include > X11 stuff should add that into /etc/ld.so.conf and re-run > ldconfig. > > *) At present, LDSO_CONF and LDSO_CACHE use the same names > and same structure as glibc. This precludes > LDSO_CACHE_SUPPORT being uses in any sane fashion on a > dial glibc and uClibc system. Just as it was necessary > for use to use a different name for 'libuClibc' rather > than 'libc', and 'ld-uClibc.so.0' rather than > 'ld-linux.so.2' it seems that these configuration files > really ought to be given different names. >
* Remove /usr/X11R6/lib from default list.Joakim Tjernlund2004-09-271-6/+16
| | | | | Move /lib and /usr/lib first in ld.so.cache. Ignore duplicate /lib and /usr/lib in ld.so.conf
* Fixup header file namingEric Andersen2004-02-101-1/+1
|
* Rob McMullen writes:Eric Andersen2003-12-031-3/+2
| | | | | | There is code in ldconfig that checks to see if a shared library is named either ``lib*'' or ``ld-*'' before ldconfig -l will work on it. gawk uses this feature of ldconfig to make /lib/rcscripts/filefuncs.so, so the build fails.
* Begin converting the client utilsEric Andersen2003-11-061-0/+900