summaryrefslogtreecommitdiffstats
path: root/libutil
Commit message (Collapse)AuthorAgeFilesLines
* Add Makefile support for DSBT ELF.Bernd Schmidt bernds_cb1@t-online.de2011-03-051-0/+1
| | | | | | | | | | | This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support will follow in separate commits. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: proper soname handlingNatanael Copa2010-04-221-2/+2
| | | | | | | | | | | Since sublevel releases are not ABI compatible we need to adjust the soname to include the sublevel version. This makes it possible to install ABI incompatible versions of the library side by side so clean upgrades are possible. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libutil/login: was totally broken. fixedDenys Vlasenko2010-04-052-21/+56
| | | | | | | | | | | | Also made login() and logout() usable with utmpname(non_std_utmp_file) text data bss dec hex filename 111 0 0 111 6f libutil/login.o 217 0 0 217 d9 libutil/login.o text data bss dec hex filename 164 0 0 164 a4 libutil/logout.o 134 0 0 134 86 libutil/logout.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libutil: provide knob to disable itBernhard Reutner-Fischer2009-11-191-2/+2
| | | | | | | 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>
* wtmp code: style fixes, no code changesDenys Vlasenko2009-09-051-11/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-171-0/+2
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-2/+2
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-2/+2
|
* - move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer2008-06-171-3/+0
|
* - strip the targets and not prerequisitesBernhard Reutner-Fischer2008-06-041-2/+2
| | | | | | - tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-032-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt2008-06-011-3/+3
| | | | | | | | | libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-302-2/+2
|
* - remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer2008-05-201-5/+1
|
* #1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger2007-03-191-1/+1
|
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-19/+6
| | | | I had clearly run search/replace on that were cluttering things up.
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-1/+1
|
* DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger2006-02-151-1/+1
| | | | linuxthreads[_db] as well, don't try on slow box
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+1
| | | | is a useless attempt
* Add -D_GNU_SOURCE to CFLAGS, else openpty picks the XOPEN variant of fd_setPeter S. Mazinger2006-01-202-2/+1
|
* Add multi support to libm, remove lib*-multi-y, unneededPeter S. Mazinger2006-01-191-2/+0
|
* Add target strip command and use it, also disable for now CFLAGS-multi-y, ↵Peter S. Mazinger2006-01-181-1/+1
| | | | after splitting all MSRC, it won't be needed
* Add IMA build rulesPeter S. Mazinger2006-01-181-2/+12
|
* Convert to hidden_defPeter S. Mazinger2006-01-163-15/+11
|
* import 32/64 bit compat support from glibcMike Frysinger2005-11-232-0/+18
|
* sync with glibcMike Frysinger2005-11-234-70/+75
|
* Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵Peter S. Mazinger2005-11-221-8/+10
| | | | only headers
* rework depends and stripping so that libraries arent rebuilt all the time in ↵Mike Frysinger2005-11-221-2/+4
| | | | a loop
* Use internal hidden versions of __login_tty/__openptyPeter S. Mazinger2005-11-213-5/+13
|
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Add info to CFLAGS about lib we are buildingPeter S. Mazinger2005-11-181-1/+1
|
* Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger2005-11-171-13/+37
| | | | foreign objects to a lib
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-65/+8
|
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-271-2/+0
| | | | to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
* Default changed to IMA compiling, disabled explicitely where currently not ↵Peter S. Mazinger2005-10-261-2/+0
| | | | possible. Add clean targets for linuxthreads[_db].
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-251-9/+21
| | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
* Add the current implementation to reviewPeter S. Mazinger2005-10-191-0/+21
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-3/+3
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* Do not defer expansions where useless, like CSRC/OBJS/LIB_NAME/AR_LIB_NAME, ↵Peter S. Mazinger2005-10-111-4/+3
| | | | defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<.
* Missed OBJS definition in libcrypt/libutil. Use := where possiblePeter S. Mazinger2005-10-111-5/+7
|
* Undo size optimizing patch that does not work with gcc-4.1-head, reported by ↵Peter S. Mazinger2005-10-111-2/+9
| | | | sjhill, thanks cow for testing
* Doing the compile in one step creates smaller archives, libcrypt.a shrinks ↵Peter S. Mazinger2005-10-071-11/+9
| | | | from 12k to 10k, libutil.a to 8k to 4k. Use make provided features where possible /$</$^.
* Remove ar-target and shared targets, at build time now we traverse the tree ↵Peter S. Mazinger2005-09-281-23/+26
| | | | only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
* no check needed in libm/libpthread, we do not recurse anymore if the related ↵Peter S. Mazinger2005-09-221-2/+2
| | | | option is not set, more Makefile cleanups
* no more cvsMike Frysinger2005-02-121-1/+0
|
* rework dependencies so the archive is re-created only when the object files ↵Mike Frysinger2005-01-181-5/+2
| | | | have been updated
* Cleaned up patch from Peter S. Mazinger adding support forEric Andersen2004-12-221-0/+2
| | | | | -fstack-protector and -fno-stack-protector-all security options
* Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III2004-10-312-2/+2
| | | | | | adding cruft to include/sys/time.h. But also, there's no sense in making changes like this until we decide how we're going to approach the hidden symbol transition.
* Peter S. Mazinger writes:Eric Andersen2004-10-192-2/+2
| | | | | | | | | | | Hello! Would the attached patch be acceptable (maybe instead of __libc_gettimeofday using __gettimeofday) We have some issues, see http://bugs.gentoo.org/show_bug.cgi?id=65892