Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-09 | Make malloc_stats() GNU libc compatible | Waldemar Brodkorb | |
This fix commit 76dfc7ce8c "Some requested additional malloc entry points" from 2004's Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org> | |||
2015-03-18 | malloc-standard: Add locking to malloc_trim | Bernhard Reutner-Fischer | |
Closes bugzilla #4586 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2015-03-18 | malloc: checked_request2size failure deadlocks | Zhiqiang Zhang | |
For some rarely cases(almost App bugs), calling malloc with a very largre size, checked_request2size check will fail,set ENOMEM, and return 0 to caller. But this will let __malloc_lock futex locked and owned by the caller. In multithread circumstance, other thread calling malloc/calloc will NOT succeed and get locked. Signed-off-by: Zhiqiang Zhang <zhangzhiqiang.zhang@huawei.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2015-01-22 | libc: Avoid redundant setting of ENOMEM | Bernhard Reutner-Fischer | |
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2013-04-03 | stdlib: avoid relocation | Bernhard Reutner-Fischer | |
valloc uses memalign Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2013-02-05 | mman: rename MAP_UNINITIALIZE to MAP_UNINITIALIZED | Bernhard Reutner-Fischer | |
The name was changed to include a trailing 'D' when it went into the kernel. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2013-02-05 | buildsys: switch libc to kbuild-style | Bernhard Reutner-Fischer | |
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2012-06-15 | malloc.h: hide internal functions (mainly debug related) | Peter S. Mazinger | |
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2010-07-27 | malloc: simplify MAP_UNINITIALIZE ifdef logic | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2010-03-25 | prettify make clean | Bernhard Reutner-Fischer | |
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2009-11-23 | nommu: use MAP_UNINITIALIZE for mallocs | Mike Frysinger | |
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> | |||
2009-09-18 | trim Experimentally off and uncommented hidden | Bernhard Reutner-Fischer | |
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> | |||
2009-08-17 | support building out-of-tree | Bernhard Reutner-Fischer | |
Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | |||
2008-11-20 | Last portion of libc_hidden_proto removal. | Denis Vlasenko | |
Appears to build fine (several .configs tried) | |||
2008-11-20 | next portion of libc_hidden_proto removal | Denis Vlasenko | |
2008-11-18 | libc_hidden_proto removal, a few more functions | Denis Vlasenko | |
2008-11-18 | libc_hidden_proto removal, just a few functions | Denis Vlasenko | |
2008-11-07 | - less verbose make clean | Bernhard Reutner-Fischer | |
2008-07-23 | - trim any trailing whitespace | Bernhard Reutner-Fischer | |
2008-05-19 | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | |
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. | |||
2007-04-02 | POSIX requires that errno be set whenever 0 is returned by malloc() | Mike Frysinger | |
2006-12-17 | rename local "brk" var so it doesnt namespace collide with the brk() function | Mike Frysinger | |
2006-12-07 | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | |
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. | |||
2006-08-25 | fix from psm: makes use of the malloc debug option in malloc-standard as well | Mike Frysinger | |
2006-07-05 | fixup my copyright notice, trim stale remnants of older notices which | Eric Andersen | |
I had clearly run search/replace on that were cluttering things up. | |||
2006-03-17 | Fix 'realloc' and revert previous changes to tests. malloc tests all pass ↵ | "Steven J. Hill" | |
regardless of the setting of MALLOC_GLIBC_COMPAT. | |||
2006-03-10 | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | |
most of global data relocations are back | |||
2006-02-18 | tweak the idea between having a MMU and actually using it | Mike Frysinger | |
2006-02-13 | libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵ | Peter S. Mazinger | |
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 | |||
2006-02-09 | just drop all of the debug code | Mike Frysinger | |
2006-02-08 | Bernhard Fischer says: get rid of local ret variable | Mike Frysinger | |
2006-02-01 | Go __malloc_lock, go ... | Peter S. Mazinger | |
2006-01-31 | rename local var brk to _brk | Mike Frysinger | |
2006-01-22 | Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵ | Peter S. Mazinger | |
is a useless attempt | |||
2006-01-16 | Last relocs jump and global data, (even locales) that I could remove are ↵ | Peter S. Mazinger | |
gone from libc. The remaining are left as exercise for others ;-) | |||
2006-01-14 | make DODEBUG=y happy, update sysdeps/common/* copyright | Peter S. Mazinger | |
2006-01-14 | hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵ | Peter S. Mazinger | |
missing headers, other jump relocs removed | |||
2005-12-27 | fix signed/unsigned warning | Mike Frysinger | |
2005-12-13 | __malloc_consolidate is only libc internal, enable use of __sbrk | Peter S. Mazinger | |
2005-12-08 | mmap/mremap/socket/rewind gone | Peter S. Mazinger | |
2005-12-08 | Hide mallinfo | Peter S. Mazinger | |
2005-12-06 | macro out the thread funcs in libc if threading is disabled | Mike Frysinger | |
2005-12-04 | More hiding, 300 left | Peter S. Mazinger | |
2005-12-01 | Hide mostly used functions | Peter S. Mazinger | |
2005-11-29 | Hiding again | Peter S. Mazinger | |
2005-11-21 | Remove TOPDIR | Peter S. Mazinger | |
2005-11-01 | Remove last unused references to libc-a-pic-, we use only the lists in ↵ | Peter S. Mazinger | |
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC | |||
2005-10-29 | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | |
2005-10-25 | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | |
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. | |||
2005-10-12 | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | |
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. |