Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prettify make clean | Bernhard Reutner-Fischer | 2010-03-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | convert // comments to /**/; remove empty #if/#endif pairs. no code changes | Denys Vlasenko | 2009-09-18 | 1 | -9/+10 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | do not save/restore errno around free() calls | Denys Vlasenko | 2009-09-05 | 1 | -10/+6 |
| | | | | | | | | In any non-buggy program free() does not fail. And when it fails in a buggy program, the failure is usually fatal (heap corruption and segfault). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure | Denys Vlasenko | 2009-09-05 | 1 | -7/+10 |
| | | | | | | | | | | | | text data bss dec hex filename - 370 0 0 370 172 libc/misc/dirent/opendir.o + 366 0 0 366 16e libc/misc/dirent/opendir.o - 375 4 0 379 17b libc/pwd_grp/lckpwdf.o + 356 4 0 360 168 libc/pwd_grp/lckpwdf.o - 248 0 0 248 f8 librt/shm.o + 209 0 0 209 d1 librt/shm.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | support building out-of-tree | Bernhard Reutner-Fischer | 2009-08-17 | 1 | -0/+2 |
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | Add a few missing includes | Ron | 2009-07-05 | 1 | -0/+1 |
| | | | | | | | | elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX. shm.c complains about no prototypes for shm_{open,unlink} without its header. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | add testcases for shm_{open,unlink} | Bernhard Reutner-Fischer | 2009-07-03 | 1 | -0/+4 |
| | | | | | Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | include errno.h unconditionally | Bernhard Reutner-Fischer | 2009-06-02 | 1 | -4/+3 |
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | add stub for shm_open() and shm_unlink | Bernhard Reutner-Fischer | 2009-06-02 | 1 | -0/+98 |
| | | | | | | Untested and needs testsuite exercise added Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | - also link librt with --as-needed and do so unconditionally to work around | Bernhard Reutner-Fischer | 2009-01-22 | 1 | -1/+1 |
| | | | | | | bugs in gentoo's QA. Just add UCLIBC_HAS_SSP to the "and" of link.asneeded to properly take SSP into account, if you prefer. | ||||
* | CLean librt/*.oS too (NPTL will add some). | Carmelo Amoroso | 2008-12-04 | 1 | -1/+1 |
| | |||||
* | - less verbose make clean | Bernhard Reutner-Fischer | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | - disentangle REALTIME from ADVANCED_REALTIME (Peter S. Mazinger) | Bernhard Reutner-Fischer | 2008-10-06 | 2 | -29/+46 |
| | |||||
* | - fix inline keyword | Bernhard Reutner-Fischer | 2008-07-23 | 11 | -11/+11 |
| | |||||
* | - move stripping into do_ar resp compile-m for the sake of simplicity | Bernhard Reutner-Fischer | 2008-06-17 | 1 | -2/+0 |
| | |||||
* | - strip the targets and not prerequisites | Bernhard Reutner-Fischer | 2008-06-04 | 1 | -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 features | Bernhard Reutner-Fischer | 2008-06-03 | 3 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 rebuild | Bernd Schmidt | 2008-06-01 | 1 | -2/+2 |
| | | | | | | | | | 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. | ||||
* | #1273 if EXTRAVERSION is set, make sure we respect it | Mike Frysinger | 2007-03-19 | 1 | -1/+1 |
| | |||||
* | Kay McCormick reports: when evp is NULL, it is reset too late and so can ↵ | Mike Frysinger | 2007-02-09 | 1 | -15/+14 |
| | | | | cause a crash when it is dereferenced | ||||
* | run through Lindent | Mike Frysinger | 2007-02-09 | 12 | -119/+123 |
| | |||||
* | only define offsetof() if it isnt already defined | Mike Frysinger | 2006-08-23 | 1 | -1/+3 |
| | |||||
* | Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵ | Peter S. Mazinger | 2006-01-22 | 2 | -4/+0 |
| | | | | is a useless attempt | ||||
* | With one source or syscall only sources there is no use of IMA | Peter S. Mazinger | 2006-01-19 | 1 | -2/+0 |
| | |||||
* | Convert to hidden_def | Peter S. Mazinger | 2006-01-16 | 1 | -4/+5 |
| | |||||
* | jump relocs removed | Peter S. Mazinger | 2006-01-16 | 2 | -8/+12 |
| | |||||
* | hide some functions to cut down on relocations | Mike Frysinger | 2005-12-29 | 3 | -6/+12 |
| | |||||
* | make sure mq_timedsend() and mq_send() is always defined | Mike Frysinger | 2005-12-29 | 1 | -5/+8 |
| | |||||
* | make sure mq_timedreceive() and mq_receive() is always defined | Mike Frysinger | 2005-12-29 | 1 | -5/+8 |
| | |||||
* | Part deux. | "Steven J. Hill" | 2005-12-06 | 1 | -3/+3 |
| | |||||
* | Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵ | Peter S. Mazinger | 2005-11-22 | 1 | -8/+10 |
| | | | | only headers | ||||
* | rework depends and stripping so that libraries arent rebuilt all the time in ↵ | Mike Frysinger | 2005-11-22 | 1 | -2/+4 |
| | | | | a loop | ||||
* | Remove TOPDIR | Peter S. Mazinger | 2005-11-21 | 1 | -3/+1 |
| | |||||
* | Add info to CFLAGS about lib we are building | Peter S. Mazinger | 2005-11-18 | 1 | -1/+1 |
| | |||||
* | Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵ | Peter S. Mazinger | 2005-11-17 | 1 | -12/+36 |
| | | | | foreign objects to a lib | ||||
* | Enable IMA compiling now that syscalls work | Peter S. Mazinger | 2005-11-02 | 1 | -3/+0 |
| | |||||
* | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | 2005-10-29 | 1 | -53/+8 |
| | |||||
* | Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵ | Peter S. Mazinger | 2005-10-27 | 1 | -3/+1 |
| | | | | 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. | ||||
* | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | 2005-10-25 | 1 | -7/+22 |
| | | | | 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 review | Peter S. Mazinger | 2005-10-19 | 1 | -0/+16 |
| | |||||
* | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | 2005-10-12 | 1 | -2/+2 |
| | | | | 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. Mazinger | 2005-10-11 | 1 | -12/+12 |
| | | | | defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<. | ||||
* | Remove ar-target and shared targets, at build time now we traverse the tree ↵ | Peter S. Mazinger | 2005-09-28 | 1 | -25/+41 |
| | | | | 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. Mazinger | 2005-09-22 | 1 | -2/+2 |
| | | | | option is not set, more Makefile cleanups | ||||
* | include headers only if the related option is enabled | Peter S. Mazinger | 2005-09-21 | 1 | -0/+5 |
| | |||||
* | rework dependencies so the archive is re-created only when the object files ↵ | Mike Frysinger | 2005-01-18 | 1 | -5/+2 |
| | | | | have been updated | ||||
* | make sure we include pthread.h to define pthread_attr_t | Mike Frysinger | 2005-01-18 | 1 | -0/+1 |
| | |||||
* | Patch from Paul Mundt (lethal) adding an initial librt implementation. | Eric Andersen | 2005-01-11 | 14 | -0/+504 |
I then reworked the syscall handling and made minor cleanups. With luck I've not completely broken his patch... |