Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | malloc-simple: Make calloc() return zeroed memory | Steven J. Magnani | 2010-07-27 | 1 | -5/+4 |
| | | | | | | | | | | The 0.9.31 release included a change to malloc-simple to request uninitialized memory from noMMU kernels. Unfortunately, the corresponding calloc() code assumed that memory returned by malloc() was already zeroed, which leads to all kinds of nastiness. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||||
* | 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 | 1 | -4/+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 | 1 | -1/+1 |
| | | | | | Appears to build fine (several .configs tried) | ||||
* | next portion of libc_hidden_proto removal | Denis Vlasenko | 2008-11-20 | 1 | -1/+1 |
| | |||||
* | - less verbose make clean | Bernhard Reutner-Fischer | 2008-11-07 | 1 | -4/+4 |
| | |||||
* | - pull in prototype for memalign() | Bernhard Reutner-Fischer | 2008-10-27 | 1 | -0/+1 |
| | |||||
* | Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old. | Khem Raj | 2008-10-11 | 1 | -1/+1 |
| | | | | | Thank you Chase Douglas for reporting it and for the patch. | ||||
* | - trim any trailing whitespace | Bernhard Reutner-Fischer | 2008-07-23 | 5 | -5/+5 |
| | |||||
* | add missing includes of unistd.h for smallint usage | Denis Vlasenko | 2008-06-01 | 1 | -1/+0 |
| | | | | | remove a few duplicate includes of unistd.h | ||||
* | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | 2008-05-19 | 1 | -1/+1 |
| | | | | | | | | | 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 says you can use realloc() to shrink buffers ... make sure we dont ↵ | Mike Frysinger | 2007-04-11 | 1 | -1/+2 |
| | | | | trigger a buffer overflow in that case | ||||
* | POSIX requires that errno be set whenever 0 is returned by malloc() | Mike Frysinger | 2007-04-02 | 1 | -1/+2 |
| | |||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 1 | -14/+13 |
| | | | | | | | 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. | ||||
* | 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 | -20/+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 | ||||
* | Update some copyrights | Peter S. Mazinger | 2006-02-13 | 1 | -2/+4 |
| | |||||
* | Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵ | Peter S. Mazinger | 2006-02-13 | 5 | -0/+40 |
| | | | | affected files | ||||
* | 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 | ||||
* | hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵ | Peter S. Mazinger | 2006-01-14 | 1 | -5/+6 |
| | | | | missing headers, other jump relocs removed | ||||
* | mmap/mremap/socket/rewind gone | Peter S. Mazinger | 2005-12-08 | 1 | -0/+1 |
| | |||||
* | 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 | 1 | -2/+2 |
| | |||||
* | Remove TOPDIR | Peter S. Mazinger | 2005-11-21 | 1 | -3/+1 |
| | |||||
* | Only because of multi sources I had to touch up these and add code duplication | Peter S. Mazinger | 2005-11-01 | 1 | -1/+4 |
| | |||||
* | 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 | -36/+8 |
| | |||||
* | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | 2005-10-25 | 1 | -0/+31 |
| | | | | 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 | -7/+8 |
| | | | | 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. | ||||
* | update syntax | Mike Frysinger | 2005-07-07 | 1 | -87/+83 |
| | |||||
* | Yoshinori Sato writes: | Mike Frysinger | 2005-07-07 | 1 | -22/+7 |
| | | | | | | Dont forgive that length of munmap is "0" in current nommu. This purpose cannot free memory area really. It is a patch to work out a solution. | ||||
* | merge parallel build support | Mike Frysinger | 2005-01-25 | 1 | -7/+5 |
| | |||||
* | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | 2004-07-15 | 1 | -2/+2 |
| | | | | Only use MAP_SHARED when mmu-less. | ||||
* | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | 2004-01-16 | 1 | -4/+4 |
| | |||||
* | Include missing errno.h header (as noted by Alan Hourihane). | Eric Andersen | 2004-01-14 | 1 | -3/+5 |
| | | | | | Fix uninitialized pthread mutex used to lock the list of aligned memory blocks. | ||||
* | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | 2003-12-30 | 1 | -7/+22 |
| | | | | | | | Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik | ||||
* | Update and restore malloc-simple. Slow as molasses, but trivially | Eric Andersen | 2003-12-30 | 2 | -0/+233 |
| | | | | | simple and releases memory immediately when asked to do so. -Erik | ||||
* | Miles Bader implemented a new mmap based malloc which is much | Eric Andersen | 2002-07-18 | 3 | -223/+0 |
| | | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles! | ||||
* | Disable debug stuff by default | Eric Andersen | 2002-07-16 | 1 | -1/+1 |
| | |||||
* | Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak | Eric Andersen | 2002-07-10 | 1 | -1/+1 |
| | |||||
* | Fix simple malloc to work on systems with an MMU | David McCullough | 2002-01-17 | 1 | -9/+31 |
| | |||||
* | Update my email address. I am no longer andersen@lineo.com | Eric Andersen | 2001-12-19 | 1 | -0/+1 |
| | |||||
* | Fix a couple of warnings | David McCullough | 2001-08-09 | 1 | -2/+2 |
| | |||||
* | Ok, this should finish off my massive ro-organization. The source | Eric Andersen | 2001-05-12 | 1 | -2/+1 |
| | | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik | ||||
* | Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinko | Eric Andersen | 2001-04-27 | 1 | -1/+2 |
| | | | | on my patch. | ||||
* | Be more strict with the malloc implementation. Return NULL | Eric Andersen | 2001-04-25 | 1 | -5/+10 |
| | | | | | when folks do a malloc(0) using malloc-simple. -Erik | ||||
* | Fix up breakage resulting from flipping the sense of some defines. Change from | Eric Andersen | 2001-03-19 | 1 | -3/+4 |
| | | | | | | | | defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik |