summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid errors in case some loon has explicitly includedEric Andersen2002-07-271-0/+2
| | | | | linux/kernel.h (even though doing so is very dumb). -Erik
* Oops. I accidentally omitted the actual mknod() function.Eric Andersen2002-07-271-0/+9
| | | | -Erik
* Ok, I get it. sjhill kept adding the 'find' command sinceEric Andersen2002-07-262-0/+2
| | | | | | include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
* Kill ill advised find command that was not doing anythingEric Andersen2002-07-261-4/+3
| | | | | productive, but did annoying things instead. -Erik
* The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen2002-07-261-1/+9
| | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
* Addition to 'distclean' for little endian MIPS."Steven J. Hill"2002-07-251-0/+1
|
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-254-355/+230
|
* Cleanup from Neal Crook fixing some formatting and eliminatingEric Andersen2002-07-251-8/+8
| | | | some "sh: cd: ./lib: No such file or directory" errors.
* Kill cruft. Build ldd for the host system by default.Eric Andersen2002-07-251-4/+4
| | | | -Erik
* Implement syscall() for armEric Andersen2002-07-252-1/+50
| | | | -Erik
* Size tweaks.Miles Bader2002-07-253-15/+17
|
* Miscellaneous tidying-up.Miles Bader2002-07-252-13/+10
|
* Take advantage of the new syscall stuff on x86 and arm to killEric Andersen2002-07-254-568/+20
| | | | | the ldso specific syscalls and use the generic ones instead. -Erik
* Redo the locking, so that it may actually work. Now locking is done atMiles Bader2002-07-258-130/+186
| | | | | | | | | the malloc/free level, not within the heap abstraction, and there's a separate lock to control sbrk access. Also, get rid of the separate `unmap_free_area' function in free.c, and just put the code in the `free' function directly, which saves a bunch of space (even compared to using an inline function) for some reason.
* Add support for people calling syscall()Eric Andersen2002-07-243-76/+78
| | | | -Erik
* Remove source files that, well, no longer exist :)."Steven J. Hill"2002-07-241-1/+1
|
* This rule is only necessary for little endian MIPS."Steven J. Hill"2002-07-241-1/+1
|
* Factor out some common code sequences into inline functions.Miles Bader2002-07-242-53/+74
|
* Misc small cleanups.Miles Bader2002-07-243-4/+6
|
* Remove, since it's entirely incorrectMiles Bader2002-07-241-33/+0
|
* (__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader2002-07-241-3/+2
| | | | (__ASMNAME2): Macro removed.
* * Automatically try to unmap heap free-areas when they get very big.Miles Bader2002-07-238-190/+234
| | | | | | | | * Instead of using mmap/munmap directly for large allocations, just use the heap for everything (this is reasonable now that heap memory can be unmapped). * Use sbrk instead of mmap/munmap on systems with an MMU.
* Add some syscalls which I moved out of syscalls.cEric Andersen2002-07-225-0/+239
| | | | -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-2222-896/+425
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Fix spellingEric Andersen2002-07-191-1/+1
|
* Doc fix.Miles Bader2002-07-195-5/+5
|
* Rename mutex stuff to use heap-specific names.Miles Bader2002-07-195-24/+26
| | | | Doc fix.
* Miles Bader implemented a new mmap based malloc which is muchEric Andersen2002-07-1830-1524/+844
| | | | | | | 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!
* Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> soEric Andersen2002-07-161-1/+1
| | | | that cfsetspeed would actually be compiled in.
* We don't need the debug versionsEric Andersen2002-07-161-2/+2
|
* __morecore need not be a function pointerEric Andersen2002-07-161-9/+8
|
* Disable debug stuff by defaultEric Andersen2002-07-161-1/+1
|
* Odd. Got a copy of junk in here.Eric Andersen2002-07-161-9/+0
|
* Do not assume NULL termination on the ut_id field. ThanksEric Andersen2002-07-161-1/+1
| | | | to mac12@po.cwru.edu for spotting this one.
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-157-165/+49
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* stupid cut-n-paste bugEric Andersen2002-07-151-5/+5
| | | | -Erik
* Patch for a silly bug from David BlytheEric Andersen2002-07-151-1/+1
|
* Silence a couple of silly warningsEric Andersen2002-07-152-0/+2
| | | | -Erik
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-153-33/+219
| | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
* Add both pthread_mutexattr_setpshared() andEric Andersen2002-07-141-0/+18
| | | | | | pthread_mutexattr_getpshared(), which were missing -Erik
* Add missing pthread_condattr_getpshared and pthread_condattr_setpsharedEric Andersen2002-07-141-0/+19
| | | | -Erik
* Kill this stale fileEric Andersen2002-07-112-32/+1
|
* Note updated toolchains are availableEric Andersen2002-07-111-0/+23
| | | | -Erik
* Grumble...Miles Bader2002-07-111-14/+9
|
* The mips config files were broken, and failed to define NMEric Andersen2002-07-102-0/+2
| | | | for some reason...
* Tobias Anderberg <tobias.anderberg@axis.com> noticed thatEric Andersen2002-07-101-1/+1
| | | | | we were opening the socket() as SOCK_STREAM instead of using SOCK_DGRAM like we should have done.
* Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen2002-07-101-19/+16
| | | | | | | | | | | ...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik
* Add missing stropts.hEric Andersen2002-07-101-0/+81
|
* Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leakEric Andersen2002-07-101-1/+1
|
* Fix a typoEric Andersen2002-07-081-1/+1
|