summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* (__heap_free): Tighten up the inner loop, and make the code more readable.Miles Bader2002-08-301-29/+24
|
* Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.Miles Bader2002-08-302-5/+5
|
* (likely, unlikely): New macros.Miles Bader2002-08-301-0/+12
|
* (likely, unlikely): New macros.Miles Bader2002-08-301-6/+8
| | | | (__malloc_likely, __malloc_unlikely): Macros removed.
* Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen2002-08-287-7/+0
|
* If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough2002-08-281-1/+1
|
* Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen2002-08-281-2/+15
| | | | -Erik
* Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough2002-08-271-0/+1
| | | | | and envp was a very small number and not an address. I think this fixes most of the SH platform.
* Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen2002-08-277-0/+35
| | | | -Erik
* Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.Manuel Novoa III2002-08-272-1/+161
| | | | | | | | In my opinion, this is a complete waste of good memory and is only done to avoid the anticipated whining by people who think this libary is named uCglibc. At some point this may become a configurable option. And even then, it may not be available in all configs... for instance when system error messages become locale-dependent.
* Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough2002-08-271-1/+3
| | | | are still seg-faulting.
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-279-0/+60
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Implement missing readdir64_r.cEric Andersen2002-08-262-1/+81
| | | | -Erik
* sparc, alpha, and mips have different errno values than the otherManuel Novoa III2002-08-262-141/+178
| | | | | | | supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
* Oops. I got the include guard wrong. Fix it per currentEric Andersen2002-08-261-3/+3
| | | | | value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-2610-25/+85
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Initial checkin.Miles Bader2002-08-262-0/+150
|
* Changed fclose behavior when custom streams were enabled. Previously,Manuel Novoa III2002-08-251-2/+21
| | | | | | | | | | | the cookie pointer was set to NULL as a debugging aid. However, some of the perl 5.8 test rely on being able to close stderr and still try writing to it. So now, the cookie pointer and handler function pointers are set to that it is a "normal" file with a file descriptor of -1. Note: The cookie pointer is reset to NULL if the FILE struct is free'd by fclose.
* Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen2002-08-254-65/+1
| | | | | | sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
* Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen2002-08-251-16/+14
| | | | | do any of that silly translating... -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-258-2/+304
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Make shm stuff work properly.Eric Andersen2002-08-253-34/+30
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-242-7/+27
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-244-36/+4
| | | | | header, which is not directly usable for many architectures. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-2410-10/+334
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-2310-612/+580
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-234-392/+405
| | | | -Erik
* (initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader2002-08-231-1/+1
|
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-226-387/+613
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-223-68/+523
| | | | -Erik
* Support _syscall6 and _syscall7 for armEric Andersen2002-08-221-0/+17
| | | | -Erik
* Hide .hidden stuff unless explicitly enabledEric Andersen2002-08-221-10/+16
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-216-7/+6
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-1922-826/+132
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Fixup struct _res handling so apps using struct _res can actuallyEric Andersen2002-08-191-11/+2
| | | | | compile ("worst standard ever!") -Erik
* Add a .note section to make gdb happyEric Andersen2002-08-193-1/+83
|
* Call the pthread setup junk early if possible.Eric Andersen2002-08-191-3/+10
|
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-195-55/+8
| | | | method for building crti.o and crtn.o
* Be prepared to call __pthread_initialize_minimalEric Andersen2002-08-191-0/+1
|
* (CSRC): Make contents source files, not object files.Miles Bader2002-08-191-2/+2
|
* (CSRC): Add `memalign.c'.Miles Bader2002-08-191-2/+2
|
* Initial checkin.Miles Bader2002-08-191-0/+94
|
* (realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader2002-08-191-2/+2
|
* (malloc): Use MALLOC_SETUP.Miles Bader2002-08-191-3/+2
|
* (MALLOC_SETUP): New macro.Miles Bader2002-08-191-5/+6
| | | | | (MALLOC_SET_SIZE): Take the base-address of the block, not the user-address. (MALLOC_ADDR): Macro removed.
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-185-17/+60
| | | | | need to translate these entities... -Erik
* Yet more rework to make __getgrent and the functions that use itEric Andersen2002-08-187-142/+92
| | | | | reentrant... -Erik
* Fix broken locking so that at least the Python 2.2.1 grp test doesn'tManuel Novoa III2002-08-181-2/+7
| | | | | | | | lock up. This really needs to be looked at, as I don't think this needs to be reentrant. In any case, several routines call the __getgrent internal routine and it uses static vars for data. If this stuff is really supposed to be threadsafe, then __getgrent probably needs fixing.
* Remove recursive lock/unlock for a non-recursive mutex.Manuel Novoa III2002-08-181-3/+1
|