Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | malloc-standard: synchronize on fork | Timo Teräs | 2011-12-23 | 1 | -0/+17 |
| | | | | | | | | Otherwise other threads can leave malloc state locked, and the child will hang indefinitely if it tries to malloc something. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | ||||
* | malloc: simplify MAP_UNINITIALIZE ifdef logic | Mike Frysinger | 2010-07-27 | 1 | -7/+4 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | prettify make clean | Bernhard Reutner-Fischer | 2010-03-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | nommu: use MAP_UNINITIALIZE for mallocs | Mike Frysinger | 2009-11-23 | 1 | -1/+1 |
| | | | | | | | | | Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use it to get real uninitialized memory on no-mmu systems. This avoids a lot of normally useless overhead involved in zeroing out all of the memory (sometimes multiple times). Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | trim Experimentally off and uncommented hidden | Bernhard Reutner-Fischer | 2009-09-18 | 5 | -10/+0 |
| | | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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> | ||||
* | Last portion of libc_hidden_proto removal. | Denis Vlasenko | 2008-11-20 | 4 | -4/+4 |
| | | | | | Appears to build fine (several .configs tried) | ||||
* | next portion of libc_hidden_proto removal | Denis Vlasenko | 2008-11-20 | 1 | -2/+2 |
| | |||||
* | libc_hidden_proto removal, a few more functions | Denis Vlasenko | 2008-11-18 | 1 | -1/+1 |
| | |||||
* | libc_hidden_proto removal, just a few functions | Denis Vlasenko | 2008-11-18 | 1 | -1/+1 |
| | |||||
* | - less verbose make clean | Bernhard Reutner-Fischer | 2008-11-07 | 1 | -4/+4 |
| | |||||
* | - trim any trailing whitespace | Bernhard Reutner-Fischer | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | 2008-05-19 | 2 | -2/+2 |
| | | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's. | ||||
* | POSIX requires that errno be set whenever 0 is returned by malloc() | Mike Frysinger | 2007-04-02 | 1 | -1/+4 |
| | |||||
* | rename local "brk" var so it doesnt namespace collide with the brk() function | Mike Frysinger | 2006-12-17 | 1 | -18/+18 |
| | |||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 8 | -73/+98 |
| | | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking. | ||||
* | fix from psm: makes use of the malloc debug option in malloc-standard as well | Mike Frysinger | 2006-08-25 | 3 | -12/+7 |
| | |||||
* | fixup my copyright notice, trim stale remnants of older notices which | Eric Andersen | 2006-07-05 | 1 | -1/+0 |
| | | | | I had clearly run search/replace on that were cluttering things up. | ||||
* | Fix 'realloc' and revert previous changes to tests. malloc tests all pass ↵ | "Steven J. Hill" | 2006-03-17 | 1 | -1/+1 |
| | | | | regardless of the setting of MALLOC_GLIBC_COMPAT. | ||||
* | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | 2006-03-10 | 3 | -3/+0 |
| | | | | most of global data relocations are back | ||||
* | tweak the idea between having a MMU and actually using it | Mike Frysinger | 2006-02-18 | 1 | -1/+1 |
| | |||||
* | libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵ | Peter S. Mazinger | 2006-02-13 | 1 | -12/+9 |
| | | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore | ||||
* | just drop all of the debug code | Mike Frysinger | 2006-02-09 | 1 | -2/+1 |
| | |||||
* | Bernhard Fischer says: get rid of local ret variable | Mike Frysinger | 2006-02-08 | 1 | -3/+1 |
| | |||||
* | Go __malloc_lock, go ... | Peter S. Mazinger | 2006-02-01 | 2 | -0/+2 |
| | |||||
* | rename local var brk to _brk | Mike Frysinger | 2006-01-31 | 1 | -6/+6 |
| | |||||
* | Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵ | Peter S. Mazinger | 2006-01-22 | 1 | -1/+0 |
| | | | | is a useless attempt | ||||
* | Last relocs jump and global data, (even locales) that I could remove are ↵ | Peter S. Mazinger | 2006-01-16 | 1 | -0/+1 |
| | | | | gone from libc. The remaining are left as exercise for others ;-) | ||||
* | make DODEBUG=y happy, update sysdeps/common/* copyright | Peter S. Mazinger | 2006-01-14 | 1 | -1/+1 |
| | |||||
* | hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵ | Peter S. Mazinger | 2006-01-14 | 5 | -16/+18 |
| | | | | missing headers, other jump relocs removed | ||||
* | fix signed/unsigned warning | Mike Frysinger | 2005-12-27 | 1 | -1/+1 |
| | |||||
* | __malloc_consolidate is only libc internal, enable use of __sbrk | Peter S. Mazinger | 2005-12-13 | 2 | -2/+3 |
| | |||||
* | mmap/mremap/socket/rewind gone | Peter S. Mazinger | 2005-12-08 | 2 | -0/+3 |
| | |||||
* | Hide mallinfo | Peter S. Mazinger | 2005-12-08 | 1 | -2/+3 |
| | |||||
* | macro out the thread funcs in libc if threading is disabled | Mike Frysinger | 2005-12-06 | 1 | -6/+3 |
| | |||||
* | More hiding, 300 left | Peter S. Mazinger | 2005-12-04 | 1 | -0/+2 |
| | |||||
* | Hide mostly used functions | Peter S. Mazinger | 2005-12-01 | 2 | -4/+4 |
| | |||||
* | Hiding again | Peter S. Mazinger | 2005-11-29 | 1 | -0/+2 |
| | |||||
* | Remove TOPDIR | Peter S. Mazinger | 2005-11-21 | 1 | -3/+1 |
| | |||||
* | Remove last unused references to libc-a-pic-, we use only the lists in ↵ | Peter S. Mazinger | 2005-11-01 | 1 | -1/+0 |
| | | | | libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC | ||||
* | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | 2005-10-29 | 1 | -47/+8 |
| | |||||
* | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | 2005-10-25 | 1 | -0/+33 |
| | | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. | ||||
* | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | 2005-10-12 | 1 | -13/+11 |
| | | | | 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. | ||||
* | Clean up pthread include mess. Some of these will be needed to support NPTL, ↵ | "Steven J. Hill" | 2005-10-04 | 1 | -0/+6 |
| | | | | but they do no harm for the linuxthreads case. Yes, I tested this. | ||||
* | add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc ↵ | Mike Frysinger | 2005-07-06 | 1 | -0/+4 |
| | | | | test wont fail | ||||
* | merge parallel build support | Mike Frysinger | 2005-01-25 | 1 | -5/+4 |
| | |||||
* | Avoid compiler warnings. | Peter Kjellerstedt | 2005-01-19 | 2 | -43/+43 |
| | |||||
* | Some requested additional malloc entry points | Eric Andersen | 2004-11-08 | 2 | -0/+56 |
| | |||||
* | Mike Frysinger writes: | Eric Andersen | 2004-08-25 | 1 | -0/+3 |
| | | | | | | | | | | | this was sent earlier in a different form: http://www.uclibc.org/lists/uclibc/2004-January/008136.html find attached a smaller version ... perhaps adding a fprintf to stderr before calling abort would be nice like in the glibc patch, but whatever glibc has since adopted a similar fix for their malloc (third hunk, line 1970) http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?r1=1.121&r2=1.122&cvsroot=glibc&f=h -mike | ||||
* | _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE | Eric Andersen | 2004-07-15 | 1 | -1/+1 |
| | | | | instead, but we are not such a system and should not propagate such things. |