summaryrefslogtreecommitdiff
path: root/utils/ldconfig.c
AgeCommit message (Collapse)Author
2009-07-05Don't shadow stat with a local variableRon
Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-05Don't shadow the err() function with a local varRon
gcc-4.4 barks about that. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-05Make more utility functions staticRon
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>
2009-07-05Add noreturn attributes to some functions that won't ever do soRon
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>
2009-02-09unify the headers/random defines into porting.h to avoid duplication/rotMike Frysinger
2009-01-28"make utils" now successfully makes utils for targetDenis Vlasenko
2008-12-22- fix for !GETOPT_LONGBernhard Reutner-Fischer
2007-04-17if chroot() failed, then reset "chroot_dir" to "." so that after we do our ↵Mike Frysinger
fallback chdir(), we dont continue to prefix the chroot path ... fixes `ldconfig.host -r some/dir/`
2007-04-17cleanup style; no functional changesMike Frysinger
2007-04-17fix ld.so.cache handling on no-mmu setupsMike Frysinger
2006-01-11remove newlines from warning messagesMike Frysinger
2005-12-29fix signed/unsigned warningsMike Frysinger
2005-09-30Allow ldconfig.host to build ld.so.cache for target, regardless ofEric Andersen
the target system's byteorder
2005-01-12cleanup, and prevent failures due to including architecture specificEric Andersen
header files into ldconfig when building for the host.
2005-01-11Remove the no-longer-needed #include <sys/user.h>Eric Andersen
2004-12-23Fix thinkoEric Andersen
2004-12-22Cleanup for when LDSO_CACHE_SUPPORT is disabledEric Andersen
2004-12-09Don't use PAGE_SIZE, instead just a local BUFFER_SIZE defineEric Andersen
2004-12-08Use PAGE_SIZE, not 4096Eric Andersen
2004-10-06Add type libc0 to cache_print().Joakim Tjernlund
Always strip trailing slaches(/) from paths read from ld.so.conf.
2004-10-06Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h andJoakim Tjernlund
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.
2004-10-03This patch from Mike Frysinger, extended from an earlier patch from Peter S.Eric Andersen
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. >
2004-09-27Remove /usr/X11R6/lib from default list.Joakim Tjernlund
Move /lib and /usr/lib first in ld.so.cache. Ignore duplicate /lib and /usr/lib in ld.so.conf
2004-02-10Fixup header file namingEric Andersen
2003-12-03Rob McMullen writes:Eric Andersen
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.
2003-11-06Begin converting the client utilsEric Andersen