summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* utils/ldd: Check for returned pointer from strrchr not the value it holdsKevin Day2011-03-301-1/+1
| | | | | Signed-off-by: Kevin Day <thekevinday@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "try to fix duplicated slashes in the generated lib*.so files"Peter S. Mazinger2011-03-061-5/+5
| | | | | | This reverts commit 624be66cb9b350d5c6538fca8592cdb3a4c23d37. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* try to fix duplicated slashes in the generated lib*.so filesPeter S. Mazinger2011-03-031-5/+5
| | | | | | | | 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>
* disable build warnings in utilsPeter S. Mazinger2011-03-032-1/+2
| | | | | | Disable some build warnings in utils. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* getconf: only use specs that are availableThomas Petazzoni2010-12-081-24/+48
| | | | | | | | | | 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>
* utils: Fix ldd segfaultNatanael Copa2010-05-241-1/+1
| | | | | | | | | | | | | | | | | 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>
* utils/Makefile.in: Define GETCONF_DIR for host builds of getconf.Khem Raj2010-05-111-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge commit 'origin/master' into nptlAustin Foxley2010-04-231-1/+1
|\ | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * utils: fix install prefix for getconfNatanael Copa2010-04-231-1/+1
| | | | | | | | | | | | | | So we don't get /usr/usr/bin/getconf when DEVEL_PREFIX="/usr" Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2010-04-121-2/+4
|\| | | | | | | | | | | | | Conflicts: libc/unistd/confstr.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * .gitignore getconf binariesBernhard Reutner-Fischer2010-04-081-2/+4
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | utils .gitignore update to include getconfAustin Foxley2010-04-061-0/+2
|/ | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* getconf: move to utils/Bernhard Reutner-Fischer2010-04-062-2/+1318
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* utils: hide comment if !VBernhard Reutner-Fischer2010-03-301-1/+1
|
* prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix cosmetic typoBernhard Reutner-Fischer2009-10-141-3/+3
| | | | | | s/dependancies/dependencies/g Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix make {,install_}{,host}utilsBernhard Reutner-Fischer2009-09-184-17/+298
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* do not pass 3rd param to open() which do not create filesDenys Vlasenko2009-09-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-171-0/+1
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* define attribute_noreturnBernhard Reutner-Fischer2009-08-102-2/+10
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix compilationBernhard Reutner-Fischer2009-08-051-2/+2
| | | | | | wrong placed attribute_noreturn Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Don't shadow the chroot globalRon2009-07-051-6/+6
| | | | | Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Don't shadow stat with a local variableRon2009-07-052-7/+7
| | | | | Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Don't shadow the err() function with a local varRon2009-07-051-2/+2
| | | | | | | gcc-4.4 barks about that. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Provide token prototypes for functions that are external but have no headerRon2009-07-051-0/+3
| | | | | | | This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make more utility functions staticRon2009-07-053-15/+15
| | | | | | | 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>
* Add noreturn attributes to some functions that won't ever do soRon2009-07-051-2/+2
| | | | | | | | | 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>
* add gitignore for utilsMike Frysinger2009-06-281-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* utils: punt readelfMike Frysinger2009-06-282-352/+1
| | | | | | | This miniature version of readelf has never been terribly useful and has caused significantly more headaches in its maintenance, so punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include more info in error messages so we have a better idea where things ↵Mike Frysinger2009-02-101-3/+3
| | | | are failing
* add mmap()/munmap() implementation for WindowsMike Frysinger2009-02-102-2/+110
|
* unify byte order cruft in bswap.h and porting.h and add a bswap_64() replacementMike Frysinger2009-02-092-39/+33
|
* unify the headers/random defines into porting.h to avoid duplication/rotMike Frysinger2009-02-097-153/+116
|
* dont force -Wl,-s when building host utils -- people can strip themselvesMike Frysinger2009-02-091-3/+3
|
* Partially revent "make utils" fix. This version is less intrusive,Denis Vlasenko2009-01-281-51/+16
| | | | | but still works! :)
* "make utils" now successfully makes utils for targetDenis Vlasenko2009-01-282-23/+71
|
* - make sure not to have relocs in Scrt1.o (Peter S. Mazinger)Bernhard Reutner-Fischer2009-01-141-5/+9
|
* utils/Makefile.in: de-obfuscate it a bitDenis Vlasenko2009-01-111-18/+33
| | | | | Rules.mak: use -Os, not -O2
* simple optimizations and style fixes in dynamic loadingDenis Vlasenko2009-01-102-30/+23
| | | | | | | | | | | 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
* - fix for !GETOPT_LONGBernhard Reutner-Fischer2008-12-221-1/+0
|
* - install utils into the proper directoriesBernhard Reutner-Fischer2008-12-161-5/+5
|
* Remove hardwired usr/ from install_utils (that's what $RUNTIME_PREFIX is for)Rob Landley2008-12-101-6/+8
| | | | | and add install_hostutils. Now install_utils should use $PREFIX more like other packages do.
* - Add temporary hack to wipe dep files even on clean for utils.Bernhard Reutner-Fischer2008-11-091-0/+3
| | | | | utils lives outside of the normal build so this is needed until it is properly pulled into the normal system.
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-2/+2
|
* - minor shrinkage (-50b)Bernhard Reutner-Fischer2008-10-291-8/+8
|
* - tidy up utils_installBernhard Reutner-Fischer2008-10-091-7/+5
|
* - fix errno setting (we're outside of libc here)Bernhard Reutner-Fischer2008-10-091-9/+5
|
* - use c89-style commentsBernhard Reutner-Fischer2008-10-031-4/+4
| | | | Closes issue #5194
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-271-1/+0
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-233-8/+8
|