summaryrefslogtreecommitdiff
path: root/extra
AgeCommit message (Collapse)Author
2010-09-17ldso: Add runtime prelink supportFilippo Arcidiacono
Added runtime prelink support to be able to run a prelinked application; at process startup only the conflicts will be relocated. This speed up the startup time. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-09-17ldso: Add implementation of ld.so standalone executionFilippo Arcidiacono
The dynamic linker can be run either indirectly through running some dynamically linked program or library (in which case no command line options to the dynamic linker can be passed and, in the ELF case, the dynamic linker which is stored in the .interp section of the program is executed) or directly by running: /lib/ld-uClibc.so.* [OPTIONS] [PROGRAM [ARGUMENTS]] Stand-alone execution is a prerequisite for adding prelink capabilities to uClibc dynamic linker, as well useful for testing an updated version of the dynamic linker without breaking the whole system. Currently supported option: --library-path PATH use given PATH instead of content of the environment variable LD_LIBRARY_PATH (Mandatory for prelinking) Not supported options: --list list all dependencies and how they are resolved --verify verify that given object really is a dynamically linked object we can handle --inhibit-rpath LIST ignore RUNPATH and RPATH information in object names in LIST This feature can be enabled by setting LDSO_STANDALONE_SUPPORT=y Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-09-15libubacktrace: Provide uClibc with backtrace functionsSalvatore Cro
A new shared object, libubacktrace.so.0 is added to uClibc to provide backtrace functions to support application self-debugging. This set of functions requires to dynamically load libgcc_s.so so they need to call dlopen/dlsym that are provided by libdl. For this reason they cannot be included into libc.so.0 but are provided by a new library. User application that wants to use backtrace needs to be compiled with -fexceptions option and -rdynamic to get full symbols printed and must be linked against libubacktrace.so Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-09-14misc: utmpx based logging supportSalvatore Cro
misc: Added support for accessing user accounting database based on utmpx structure. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-06-13handle i386 TARGET_SUBARCHBernhard Reutner-Fischer
so we can pick the correct nptl locking impls Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-06-11lxdialog: fix ncursesw include detectionBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-05-05Fix gen_wc8bit support for finding a UTF8 locale on host.Andy Gibbs
gen_wc8bit was previously patched to support UTF8 locales other than the default en_US.UTF-8 by patch id 0e14b8f425c562749d3821a42414b1ce6b3b0923. This was incomplete in its implementation and still failed where item(s) in the list returned by 'locale -a' already had 'UTF8' appended to the name. This patch rectifies this situation, plus adds an extra fix to avoid trimming '\n' from an empty line which could cause a segfault. Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-29optional /etc/localtime supportDenys Vlasenko
This patch teaches uclibc to use /etc/localtime. This is possible since recent TZif2 file format contains TZ-like ASCII string at the end. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-04-14Merge commit 'origin/master' into nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-14ldso: Add config option for controlling LD_PRELOADCarmelo AMOROSO
On hardened system it could be useful to disable the use of LD_PRELOAD environment variable for preloading shared objects before the system libraries. So this patch add a config option, LDSO_PRELOAD_ENV_SUPPORT, to control this behaviour. It is enabled by default. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-12temporarily turn on warnings for NPTLBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-12Merge remote branch 'origin/master' into nptlAustin Foxley
Conflicts: libc/unistd/confstr.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-12prettify make cleanBernhard Reutner-Fischer
forgot extra/config Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-02nptl needs stdio futexes enabled.Austin Foxley
this got reverted in the merge I just did Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-02Revert "remove config knobs that belong to the nptl branch"Austin Foxley
This reverts commit de82658a05de0ace6f3d261dedc358d3a14f3681. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-02Merge commit 'origin/master' into nptlAustin Foxley
Conflicts: Makefile.in extra/Configs/Config.in libc/sysdeps/linux/common/bits/kernel-features.h libc/sysdeps/linux/common/poll.c libc/sysdeps/linux/common/sysdep.h libc/sysdeps/linux/sh/sysdep.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-03-25prettify make cleanBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-13config: tweak textBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12config: support make defconfig O=/f/o/oBernhard Reutner-Fischer
previously wanted to create the temporary cfg file in the srcdir (which failed on a RO srcdir) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer
defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-03-12remove config knobs that belong to the nptl branchBernhard Reutner-Fischer
Fixes bug #1243 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-19Add dummy tcb-offsets.hKhem Raj
* This file is used during creation of real tcb-offsets.h because lowlevellock.h from i386 also include tcb-offsets.h and it is inturn included by tls.h and tls.h is used in the dummy C file generated from tcb-offsets.sym, it created a catch-22 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-02-16a few more build fixes nptl syncAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-02-02lxdialog: remove objectfiles on cleanBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-01-16randconfig.sh: set number of make jobsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-22ldso: let people disable the implicit path searchMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-22install_headers.sh: make more user friendlyMike Frysinger
Make it easier to run this by hand and don't abort when recursive chown and chmod fail as these often aren't due to uClibc settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-22remove incorrect text from abspath optionMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-11-20realclean: wipe kconfig objectsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-20silence rule overridingBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-20remove superfluous extra semicolonsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19FORCE_SHAREABLE_TEXT_SEGMENTS requires DOPICPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19remove ARCH_CFLAGS, ARCH_LDFLAGS and CROSSPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19fix misplaced HAS_LIBUTIL knobBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19DO_XSI_MATH: add config knobBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19UCLIBC_HAS_RESOLV_STUB: Rename config symbolBernhard Reutner-Fischer
s/UCLIBC_HAS_RESOLV_STUB/UCLIBC_HAS_LIBRESOLV_STUB/ for consistency. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19libutil: provide knob to disable itBernhard Reutner-Fischer
These tty utility functions are non-standard. They usually are available on BSD and/or glibc based systems. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19libnsl: add knob to disable itBernhard Reutner-Fischer
It's a dummy either way. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19fixup working in helptextsBernhard Reutner-Fischer
and spell out suggested defaults for LDSO_RUNPATH Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-28Simplify kconfig wording of thread supportBernhard Reutner-Fischer
Use a choice for thread support selection. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-28remove wrong default for choiceBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-28support selecting which locales to buildBernhard Reutner-Fischer
Introduce UCLIBC_BUILD_MINIMAL_LOCALES and if selected build only those locales. Based on a patch by Bernhard Reutner-Fischer. Signed-off-by: Marc Andre Tanner <mat@brain-dump.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-20remove useless .gitignoreAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-17add .gitignore for test/ and extra/Austin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-08ftw() is obsolescent in SUSv4Bernhard Reutner-Fischer
Apps should switch to nftw() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-26Config.in: enable TLS config option only for nptlAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-09-18fix make {,install_}{,host}utilsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-17No need for a libresolv stubBernhard Reutner-Fischer
libresolv is just a stub anyway, default to not building it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-16handle make ARCH= configBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-14Revert "default ?conf to native arch"Bernhard Reutner-Fischer
This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>