Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released | Mike Frysinger | 2005-09-08 | 1 | -9/+0 | |
| | ||||||
* | Fix by Martin Schlemmer: | Mike Frysinger | 2005-09-08 | 1 | -0/+8 | |
| | | | | | | | | If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187 | |||||
* | import a64l and l64a from glibc | Mike Frysinger | 2005-08-24 | 3 | -2/+127 | |
| | ||||||
* | add a link_warning() like glibc so ppl will [hopefully] stop using mktemp. ↵ | Mike Frysinger | 2005-08-24 | 1 | -7/+9 | |
| | | | | also redo whitespacing. | |||||
* | add the posix_memalign function | Mike Frysinger | 2005-08-18 | 2 | -2/+44 | |
| | ||||||
* | Add a config option for abort() to shutdown the stdio subsystem. This is | Manuel Novoa III | 2005-07-28 | 1 | -0/+14 | |
| | | | | | mainly to cut down on noise in the NIST/PCTS tests since older POSIX behavior was to fclose() (and hence fflush()) all open streams. | |||||
* | define an abort instruction for m68k | Mike Frysinger | 2005-07-10 | 1 | -0/+2 | |
| | ||||||
* | define an abort instruction for alpha | Mike Frysinger | 2005-07-10 | 1 | -1/+3 | |
| | ||||||
* | alphabetize and warn if an arch is undefined | Mike Frysinger | 2005-07-10 | 1 | -7/+8 | |
| | ||||||
* | 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. | |||||
* | add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc ↵ | Mike Frysinger | 2005-07-06 | 1 | -0/+4 | |
| | | | | test wont fail | |||||
* | whitespace/syntax updates | Mike Frysinger | 2005-06-29 | 1 | -50/+50 | |
| | ||||||
* | if we have a signal handler in place to cover SIGABRT, we have to make sure ↵ | Mike Frysinger | 2005-06-29 | 1 | -1/+3 | |
| | | | | the code that unregisters it raises SIGABRT again so the program actually aborts | |||||
* | Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT to | Joakim Tjernlund | 2005-05-28 | 1 | -0/+2 | |
| | | | | | | | | be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change. | |||||
* | Enable new FINI processing. ldso now passes a FINI function | Joakim Tjernlund | 2005-05-21 | 1 | -3/+0 | |
| | | | | ptr to crt. Only PowerPC and x86 support this currently. | |||||
* | Prepare for moving ldso FINI handling into libc. | Joakim Tjernlund | 2005-03-20 | 1 | -0/+6 | |
| | | | | #define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first). | |||||
* | merge parallel build support | Mike Frysinger | 2005-01-25 | 4 | -22/+17 | |
| | ||||||
* | 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 | |
| | ||||||
* | Add missing imaxdiv and lldiv needed for SuSv3. Adjust ldiv to | Eric Andersen | 2004-09-07 | 3 | -26/+119 | |
| | | | | match glibc's quotient truncation behavior. | |||||
* | 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 | |||||
* | The variable used to store pagesize is not the same as the | Eric Andersen | 2004-08-16 | 1 | -1/+2 | |
| | | | | | _dl_pagesize variable in ldso, so avoid aliasing. -Erik | |||||
* | Fixup PAGE_SIZE problems | Eric Andersen | 2004-08-13 | 1 | -3/+2 | |
| | | | | -Erik | |||||
* | _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. | |||||
* | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | 2004-07-15 | 4 | -7/+21 | |
| | | | | Only use MAP_SHARED when mmu-less. | |||||
* | Paul Mundt lethal at linux-sh dot org writes: | Eric Andersen | 2004-02-12 | 1 | -0/+2 | |
| | | | | | | | | We can't use trapa #0xff on sh2, the only permissible trapa ranges are 32 to 63. On SH-2, we use trapa32 to issue a break in the same way that trapa #0xff is used on SH-3/4. This behavior is implementation specific, but is what is used in sh-ipl+g, linux, eCos, uITRON, etc. so we follow suit here. | |||||
* | New stdio core. Should be more maintainable. Fixes a couple of bugs. | Manuel Novoa III | 2004-02-11 | 3 | -14/+7 | |
| | | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen. | |||||
* | Patch from Paul Mundt, lethal at linux-sh dot org, | Eric Andersen | 2004-01-31 | 1 | -0/+4 | |
| | | | | add sh/sh64: ABORT_INSTRUCTION definitions | |||||
* | Add missing abort instruction for powerpc | Eric Andersen | 2004-01-30 | 1 | -1/+5 | |
| | ||||||
* | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | 2004-01-16 | 2 | -5/+5 | |
| | ||||||
* | 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. | |||||
* | Fix the manditory typo in my last minute untested fix. | Eric Andersen | 2003-12-30 | 1 | -1/+1 | |
| | | | | -Erik | |||||
* | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | 2003-12-30 | 18 | -798/+3133 | |
| | | | | | | | 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 | |||||
* | Handle the app_fini stuff in exit without requiring atexit(). | Manuel Novoa III | 2003-12-27 | 1 | -0/+9 | |
| | | | | This avoids pulling in all the malloc/free code for a simple true/false app. | |||||
* | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | 2003-12-27 | 9 | -26/+26 | |
| | | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests. | |||||
* | If realloc failed, we'd lose the pointer to the exit function table. | Manuel Novoa III | 2003-11-02 | 1 | -6/+8 | |
| | ||||||
* | Peter Kjellerstedt writes: | Eric Andersen | 2003-10-18 | 3 | -3/+3 | |
| | | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM). | |||||
* | Doh!!! | Eric Andersen | 2003-10-17 | 1 | -1/+1 | |
| | ||||||
* | Do not set errno when they asked for size 0 | Eric Andersen | 2003-10-16 | 1 | -1/+1 | |
| | ||||||
* | Code formatting cleanup. | Miles Bader | 2003-10-16 | 1 | -5/+6 | |
| | ||||||
* | Don't set errno if for zero SIZE returns. | Miles Bader | 2003-10-16 | 1 | -11/+14 | |
| | | | | Code formatting cleanup. | |||||
* | More fiddling with static free-areas: make sure both their size _and_ | Miles Bader | 2003-09-22 | 1 | -5/+5 | |
| | | | | their alignment are correct. | |||||
* | Make sure we don't allocate too little space for static free-areas | Miles Bader | 2003-09-19 | 1 | -1/+3 | |
| | | | | because of our fiddling with alignment (because doing so is VERY BAD). | |||||
* | Add dependencies on header files. | Miles Bader | 2003-09-19 | 1 | -2/+5 | |
| | ||||||
* | Make sure static heaps are aligned correctly. | Miles Bader | 2003-09-17 | 1 | -9/+11 | |
| | ||||||
* | 'extern inline' doesn't work... Use 'static inline' | Eric Andersen | 2003-09-06 | 1 | -5/+5 | |
| | ||||||
* | add missing prototype | Eric Andersen | 2003-09-06 | 1 | -0/+2 | |
| | ||||||
* | Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c, | Eric Andersen | 2003-09-06 | 4 | -37/+59 | |
| | | | | | which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1); |