summaryrefslogtreecommitdiff
path: root/utils/ldd.c
AgeCommit message (Collapse)Author
2020-10-02kvx: add support for kvx arch to uClibc-ngYann Sionneau
This commit adds support for Kalray VLIW family (kvx) Kalray kv3 core is embedded in Kalray Coolidge SoC. This core which is the third of the KV family has the following features: 32/64 bits execution mode 6-issue VLIW architecture 64 x 64bits general purpose registers SIMD instructions little-endian In order to build a usable toolchain, build scripts are provided at the following address: https://github.com/kalray/build-scripts. Kalray uses FOSS which is available at https://github.com/kalray This includes Linux kernel, uClibc-ng, gcc, binutils, etc. Signed-off-by: Clément Léger <cleger@kalray.eu> Signed-off-by: Guillaume Thouvenin <gthouvenin@kalray.eu> Signed-off-by: Laurent Thevenoux <lthevenoux@kalray.eu> Signed-off-by: Marc Poulhies <mpoulhies@kalray.eu> Signed-off-by: Marius Gligor <mgligor@kalray.eu> Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
2019-11-01riscv64: add shared library supportWaldemar Brodkorb
2017-11-24utils: add EM_MCORE for csky machine.Guo Ren
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2017-06-21remove editor hints for viWaldemar Brodkorb
2017-02-01add experimental aarch64 supportWaldemar Brodkorb
Ported over from GNU C Library and runtime tested in Qemu.
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-27ldd: fix compile for some architecturesWaldemar Brodkorb
Reorder entries alphabetically (architecture name as order criterium) and remove unused entries.
2016-07-06bfin: allow to build lddWaldemar Brodkorb
2016-05-24microblaze: fix ELF detection in ld.soWaldemar Brodkorb
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>
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-03ldd: ELFCLASSM was not defined for the Xtensa architectureChris Zankel
Signed-off-by: Chris Zankel <chris@zankel.net>
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-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: silence warning if !LDSO_LDD_SUPPORTBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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>
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>
2009-10-14fix cosmetic typoBernhard Reutner-Fischer
s/dependancies/dependencies/g Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-05do not pass 3rd param to open() which do not create filesDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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-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-02-10include more info in error messages so we have a better idea where things ↵Mike Frysinger
are failing
2009-02-09unify the headers/random defines into porting.h to avoid duplication/rotMike Frysinger
2009-01-10simple optimizations and style fixes in dynamic loadingDenis Vlasenko
text data bss dec hex filename - 16709 240 92 17041 4291 lib/ld-uClibc.so + 16634 236 92 16962 4242 lib/ld-uClibc.so - 4602 344 4 4950 1356 lib/libdl-0.9.30-svn.so + 4571 328 4 4903 1327 lib/libdl-0.9.30-svn.so - 4602 344 4 4950 1356 lib/libdl.so + 4571 328 4 4903 1327 lib/libdl.so
2008-10-29- minor shrinkage (-50b)Bernhard Reutner-Fischer
2008-10-03- use c89-style commentsBernhard Reutner-Fischer
Closes issue #5194
2008-08-27- remove a couple of duplicate includesBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard Reutner-Fischer
2008-03-26- fixup stripping of host utils and make host-utils compile with std=gnu99Bernhard Reutner-Fischer
2007-11-16Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso
<hcegtvedt@atmel.com>
2007-04-17cleanup style; no functional changesMike Frysinger
2006-12-12- fix compilation of __LDSO_CACHE_SUPPORT__Bernhard Reutner-Fischer
s/dprintf(2/fprintf(stderr/g
2006-10-07the makefile will include elf.h for us #778Mike Frysinger
2006-07-05replace my @debian.org addr with @uclibc.org. Fixup license onEric Andersen
readelf and ldd to again state that they are GPLv2
2006-02-26remove warning since it seems to have "gone away" nowMike Frysinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2005-12-30tell people to ignore these two warnings unless someone can figure out how ↵Mike Frysinger
to make them go away ... the vfork() is safe due to the logic following it
2005-12-30need to make sure elf_find_dynamic(key) is big enough to handle 64bit hostsMike Frysinger
2005-12-29fix signed/unsigned warningsMike Frysinger
2005-12-10Solve warning about redefined _GNU_SOURCE, allow iconv to buildPeter S. Mazinger
2005-12-09touchup styleMike Frysinger
2005-11-24Move _GNU_SOURCE from file to CFLAGS, make use of NATIVE_LDFLAGSPeter S. Mazinger
2005-10-05ldd does not build due to missing fork() on MMUless. Since ldd merelyEric Andersen
does a fork/exec, fork() can be trivially replaced with vfork()
2005-09-22clean 32bit-isms and make code 64/32 bit cleanMike Frysinger