summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2019-11-17Makefile.in: build utils without stack smashing protectorEugene Yudin
2019-11-01riscv64: add shared library supportWaldemar Brodkorb
2018-04-29Revert "ldconfig: add glibc compatibility fix"Waldemar Brodkorb
This reverts commit 2a3bb4daf5778c5875674cd26a3c75b3d460a042. This is breaking ld.so.cache usage. Seen on Gentoo/amd64. Reported-by: "Anthony G. Basile" <basile@freeharbor.net>
2018-04-22libiconv: remove function, which is not available w/o libiconv a4 macrosWaldemar Brodkorb
2018-03-05utils: fix compile of msgfmt/msgmergeWaldemar Brodkorb
The host utils are missing the dependencies, the target utils need libiconv enabled.
2018-02-18utils: fix install errorWaldemar Brodkorb
Regression introduced with 748b5e3d2d70e47ab72ed44a371bd0db9a3a0c20
2018-02-17add gettext-tiny toolsWaldemar Brodkorb
For libintl stub users tiny gettext tools might be useful. Tested with x86_64 on Gentoo/uClibc-ng system.
2017-11-24utils: add EM_MCORE for csky machine.Guo Ren
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2017-09-14ldconfig: add glibc compatibility fixWaldemar Brodkorb
Reported-by: Lauri Kasanen <cand@gmx.com>
2017-06-21remove editor hints for viWaldemar Brodkorb
2017-03-01Fix build on macosAlexey Neyman
... where install does not have a -D option. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-01add experimental aarch64 supportWaldemar Brodkorb
Ported over from GNU C Library and runtime tested in Qemu.
2016-12-10utils: add -static to CFLAGS when HAVE_SHARED is not setMax Filippov
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-04nios2: sync support with glibcWaldemar Brodkorb
Only static linking is supported for now. More debugging and analyzing for ld.so, TLS and NPTL is required. But at least you can bootup a static root fileystem in Qemu.
2016-09-29locale: remove building for the host, as it breaksWaldemar Brodkorb
2016-09-27ldd: fix compile for some architecturesWaldemar Brodkorb
Reorder entries alphabetically (architecture name as order criterium) and remove unused entries.
2016-09-26locale: cleanup supportWaldemar Brodkorb
Enable locale application to be build when utils are build. Remove useless compile and link warnings. Default to minimal locale builds. Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2016-07-06bfin: allow to build lddWaldemar Brodkorb
2016-05-24microblaze: fix ELF detection in ld.soWaldemar Brodkorb
2016-01-10ARCH_NATIVE_BIT should in the first place be passed when building utils for hostEugene Rudoy
ARCH_NATIVE_BIT should in the first place be passed when building utils for host (BUILD_CFLAGS-utils). It could also be passed when building utils for target (CFLAGS-utils), but this is actually not necessary as ARCH_NATIVE_BIT and __WORDSIZE are identical in this case. Fixes 5ec4477584b69fe5f1410649b2eb3a63835fb649 (makes it actually work). Signed-off-by: Eugene Rudoy <gene@freetz.org>
2016-01-02remove deprecated architectures v850/i960Waldemar Brodkorb
Both architectures are more or less deprecated. No Linux upstream support, no gcc support for uClinux.
2015-12-17utlis/ldd: Fix host ldd in case of target wordsize differs from host oneWaldemar Brodkorb
improved solution from http://freetz.org/ticket/842 Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
2015-06-10getconf.c: undef VERSIONBernhard Reutner-Fischer
might come in via nptl so undef it before redefining it Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-12-20ldd: Add ARC supportVineet Gupta
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14ldd: Add MATCH_MACHINE definition for MetaMarkos Chandras
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-03ldd: ELFCLASSM was not defined for the Xtensa architectureChris Zankel
Signed-off-by: Chris Zankel <chris@zankel.net>
2012-10-31utils: Fix missing semicolonBernhard Reutner-Fischer
Thanks to Manuel Rüger for spotting this one. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15make UCLIBC_HAS_PROGRAM_INVOCATION_NAME and UCLIBC_HAS___PROGNAME ↵Peter S. Mazinger
independent options Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15utils: expand search path to find dl-sysdep.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15ldd.c: change syntax, no size and no functional changePeter S. Mazinger
Proposed-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15ldd.c: reduce sizePeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15ldconfig.c: fix strncmp() usagePeter S. Mazinger
While there, remove unused __strtok. Use err() and warn() if uClibc provides them (if ldconfig is not static). Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15getconf.c: fix noreturn warningsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15iconv: Do not include __iconv_codesets into iconv utilityPeter S. Mazinger
Host iconv needs only L_iconv_main defined and __iconv_codesets has to included, as host system does not provide it. Keep __iconv_codesets out of iconv linked against uClibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15iconv.c: make iconv use the XPG version of basenamePeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-05-15ldd: tweak whitespaceBernhard Reutner-Fischer
Tweak whitespace in preprocessor conditionals. No obj-code changes. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-05-08ldd.host: Fix compilation for STANDALONE supportBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-05-08utils: pass in config flags for lddBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-05-08ldd: silence warning if !LDSO_LDD_SUPPORTBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-04-22getconf: include a newline in error messagesMike Frysinger
The normal error() func implicitly appends a newline, so make sure we do the same. Otherwise getconf outputs an error message like so: prompt$ getconf -h Unrecognized variable `-h'prompt$ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-18ldd: silence warningsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-10-18ldd: take LD_LIBRARY_PATH into accountCarmelo Amoroso
Extend the environment variables adding the LD_LIBRARY_PATH if actually passed when doing shared library tracings through the ld.so trace capability. This is possible only using the system dynamic linker in stand-alone mode to avoid any vulnerability. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-10-06microblaze mmu/elf/shared lib supportRyan Flux
microblaze can either be with mmu or without If with, use elf rather than flat, and support shared libs Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au> Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-03-30utils/ldd: Check for returned pointer from strrchr not the value it holdsKevin Day
Signed-off-by: Kevin Day <thekevinday@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-06Revert "try to fix duplicated slashes in the generated lib*.so files"Peter S. Mazinger
This reverts commit 624be66cb9b350d5c6538fca8592cdb3a4c23d37. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03try to fix duplicated slashes in the generated lib*.so filesPeter S. Mazinger
Try to fix duplicated slashes in the generated lib*.so files and make sure that on installation the *bin directories are really created (avoid the misbehaviour of creating usrbin dir). Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03disable build warnings in utilsPeter S. Mazinger
Disable some build warnings in utils. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2010-12-08getconf: only use specs that are availableThomas Petazzoni
On older glibc (like 2.7), the _SC_V7_* symbols are not defined, making the build of current uClibc fail on Debian Lenny systems and other systems using a fairly old glibc. So we make sure to only use the specs names that are defined by the host C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-05-24utils: Fix ldd segfaultNatanael Copa
Fixes ldd segfault on this testcase: extern void _dl_getenv(void); void foo(void) { printf("foo: %x\n", &_dl_getenv); } linked as -shared It fixes bug #1507 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>