[uClibc-cvs] CVS uClibc/extra/Configs
CVS User jocke
jocke at codepoet.org
Tue Oct 5 11:51:59 UTC 2004
Update of /var/cvs/uClibc/extra/Configs
In directory nail:/tmp/cvs-serv26316/extra/Configs
Modified Files:
Config.in
Log Message:
Peter Kjellerstedt writes:
After the addition of a configuration option for
enabling the support of /etc/ld.so.cache, I thought
it might be a good idea to add one for the support
of the /etc/ld.so.preload file too. So here it is.
While doing this, I also noticed that the dynamic
linker would hang indefinitely if either LD_PRELOAD
or /etc/ld.so.preload contained a library which was
already loaded, so I made a patch for that too.
And of course, I could not resist from doing a little
clean up of comments and indentation, so here is a
patch for that too.
--- /var/cvs/uClibc/extra/Configs/Config.in 2004/10/03 07:51:59 1.54
+++ /var/cvs/uClibc/extra/Configs/Config.in 2004/10/05 11:51:58 1.55
@@ -234,15 +234,24 @@
After updating this file, it is necessary to run 'ldconfig' to update
the /etc/ld.so.cache shared library loader cache file.
+config LDSO_PRELOAD_FILE_SUPPORT
+ bool "Enable shared library loader preload file support"
+ depends on BUILD_UCLIBC_LDSO
+ default n
+ help
+ Enable this to make use of /etc/ld.so.preload. This file contains a
+ whitespace separated list of shared libraries to be loaded before
+ the program.
+
config LDSO_BASE_FILENAME
- string "Shared library loader cache naming prefix"
- depends on LDSO_CACHE_SUPPORT
+ string "Shared library loader naming prefix"
+ depends on LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT
default "ld.so"
help
If you wish to support both uClibc and glibc on the same system, it
is necessary to set this to something other than "ld.so" to avoid
conflicts with glibc, which also uses "ld.so". This prevents both
- libraries from using the same /etc/ld.so.cache file. If you wish to
+ libraries from using the same /etc/ld.so.* files. If you wish to
support both uClibc and glibc on the same system then you should set
this to "ld-uClibc.so".
@@ -340,7 +349,6 @@
config UCLIBC_HAS_LFS
bool "Large File Support"
default y
- depends on !CONFIG_CRIS
help
If you wish to build uClibc with support for accessing large files
(i.e. files greater then 2 GiB) then answer Y. Do not enable this
More information about the uClibc-cvs
mailing list