Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If realloc failed, we'd lose the pointer to the exit function table. | Manuel Novoa III | 2003-11-02 | 1 | -6/+8 |
| | |||||
* | Doh! Fix potential stack corruption caused by dynamic atexit | Eric Andersen | 2003-01-24 | 1 | -2/+6 |
| | | | | | allocating size incorrectly.... -Erik | ||||
* | Implement dynamic atexit handling. Adds a few bytes and a dependancy | Eric Andersen | 2002-11-19 | 1 | -28/+68 |
| | | | | | on malloc (via realloc). -Erik | ||||
* | A bug fix from Alexey V. Neyman: | Eric Andersen | 2002-09-26 | 1 | -2/+2 |
| | | | | | | | In case of vfork(), the parent was left with __exit_count of -1 and thus tried to find non-NULL value of __exit_function_table[-1].atexit, __exit_function_table[-2].atexit and call this function; of course, it leads to coredump. | ||||
* | Doh! missed a spot. | Eric Andersen | 2002-08-12 | 1 | -0/+2 |
| | | | | -Erik | ||||
* | Geez I'm an idiot some times. I shouldn't code when I'm exhausted. | Eric Andersen | 2002-08-12 | 1 | -1/+2 |
| | | | | | | I _totally_ screwed up the locking on exit and atexit such that it didn't do any good at all. -Erik | ||||
* | Add missing thread-safe locking.0_9_13 | Eric Andersen | 2002-08-09 | 1 | -0/+27 |
| | | | | -Erik | ||||
* | Swap in the new stdio code. | Manuel Novoa III | 2002-03-12 | 1 | -5/+8 |
| | |||||
* | Doh! Miles Bader noticed a couple of spots where I forgot | Eric Andersen | 2002-02-19 | 1 | -3/+1 |
| | | | | to mark __stdio_flush_buffers with weak_function. Oops! | ||||
* | Rename __stdio_close_all to __stdio_flush_buffers. Eliminate an | Eric Andersen | 2002-02-18 | 1 | -7/+5 |
| | | | | unnecessary variable | ||||
* | Doh! | Eric Andersen | 2002-02-18 | 1 | -1/+1 |
| | |||||
* | Miles Bader writes: | Eric Andersen | 2002-02-18 | 1 | -1/+2 |
| | | | | | | | | | | Programs that don't use stdio crash in the `exit' function, because they call through the pointer__uClibc_cleanup, which has a value of 0. It has a value of 0 because __uClibc_main.c initializes it to the address of `__stdio_close_all', which is a weak symbol (and so is 0 if stdio is not used). This patch from Miles fixes it, though we need to audit __stdio_close_all usage to be sure... | ||||
* | A number of naming updates in preparation for adding in | Eric Andersen | 2002-02-13 | 1 | -23/+114 |
| | | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me. | ||||
* | Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850. | Eric Andersen | 2001-10-11 | 1 | -1/+2 |
| | | | | He sent this patch to me a month ago, but I forgot to apply it... | ||||
* | Update to accomodate the header file changes | Eric Andersen | 2001-09-27 | 1 | -0/+1 |
| | |||||
* | Fix include/errno.h to not use kernel header, and instead use bits/errno.h. | Eric Andersen | 2001-04-06 | 1 | -1/+1 |
| | | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik | ||||
* | Create __uClibc_main to handle what can be done in C instead of each arch's | Manuel Novoa III | 2001-02-19 | 1 | -14/+26 |
| | | | | | | | respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting. | ||||
* | Revert stdio to initializing itself. Not quite a pretty but that ensures that | Eric Andersen | 2001-02-09 | 1 | -3/+0 |
| | | | | | | | we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik | ||||
* | Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a | Manuel Novoa III | 2001-01-25 | 1 | -32/+17 |
| | | | | objects with shared uClibc; allow disabling long long support. | ||||
* | Note about need to match _SC_ATEXIT_MAX. Minor macro name change. | Manuel Novoa III | 2001-01-17 | 1 | -4/+9 |
| | |||||
* | A large update from Manuel Novoa III <mnovoa3@bellsouth.net>. | Eric Andersen | 2001-01-11 | 1 | -58/+24 |
| | |||||
* | Bug ugly formatting update | Eric Andersen | 2000-10-09 | 1 | -59/+49 |
| | |||||
* | Many bugfixes, header cleanups, etc. Added abort and glob. | Eric Andersen | 2000-07-05 | 1 | -0/+1 |
| | | | | | It is getting closer... -Erik | ||||
* | Initial revision0_9_1 | Erik Andersen | 2000-05-14 | 1 | -0/+117 |