summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Stefan Allius and Edie C. Dost:Eric Andersen2002-08-082-5/+21
| | | | | | In linuxthreads/errno.h the functions __errno_location and __h_errno_location wasn't safe against calling before the library is initialized.
* Missed a spotEric Andersen2002-08-082-12/+12
| | | | -Erik
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-085-31/+197
| | | | | | Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
* Fix license. I meant to say LGPL...Eric Andersen2002-08-081-12/+12
| | | | -Erik
* Patch from Stefan Allius and Edie C. Dost to add SuperHEric Andersen2002-08-0835-737/+2065
| | | | | | | | | | | | | | | | | shared library support. This also adds some cleaner error handling, which I (Erik) then ported over to x86 and arm. In addition Stefan added the following fixes: - in hash.c was the lvalue handling of global library functions wrong. To fix this I had to change the prototype of _dl_find_hash. (==> TIS and ELF spec. Vers. 1.2) - in ldso.c was the order of the .init sections calls wrong. Before we call the initialization code of a library we have to check that all dependend libraries are already initialized. This can easily made by calling it in the revers loading order. For this I added a previous pointer chain. - in ldso.c the ELF magics wasn't checked fo PPC, MIPS and SH architecture
* Patch from Stefan Allius and Edie C. Dost to let ldd andEric Andersen2002-08-084-10/+74
| | | | readelf compile under solaris.
* Make pump happy. Add in this header.Eric Andersen2002-08-081-0/+64
| | | | -Erik
* I missed a fileEric Andersen2002-08-082-1/+55
|
* Fix a silly bug with using fstat64 instead of just fstat. NoEric Andersen2002-08-081-2/+2
| | | | | reason for 64bit stuff just to check perms. -Erik
* Remove unified syscall support (it should just be a per-archEric Andersen2002-08-081-5/+5
| | | | | | decision, with syscalls.h adjusted to match). Add symlinks to make tools like mklibs.py be happy. -Erik
* Disable unused unifed stuffEric Andersen2002-08-081-3/+0
| | | | -Erik
* Update default config filesEric Andersen2002-08-0814-100/+72
|
* Update status of reentrance supportEric Andersen2002-08-081-2146/+23
|
* Make some strings constEric Andersen2002-08-085-5/+5
| | | | -Erik
* Fix lockingEric Andersen2002-08-0814-177/+372
| | | | -Erik
* Fix lockingEric Andersen2002-08-081-0/+19
|
* Cleanup warnings and fix prototypesEric Andersen2002-08-081-16/+11
| | | | -Erik
* Add missing include fileEric Andersen2002-08-081-0/+1
|
* Cleanup some silly warningsEric Andersen2002-08-085-5/+11
|
* Avoid bad things happening on macro expansion...Eric Andersen2002-08-081-2/+7
| | | | -Erik
* Cleanup to avoid some undefined behaviorEric Andersen2002-08-082-76/+74
| | | | -Erik
* Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for"Steven J. Hill"2002-08-071-1/+1
| | | | MIPS platforms.
* Add getrpcent.c to default rpc buildEric Andersen2002-08-071-1/+2
|
* Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen2002-08-074-211/+183
| | | | | (IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
* Remove some noiseEric Andersen2002-08-071-13/+0
|
* Changed my mind. Keep this separate.Eric Andersen2002-08-071-0/+41
| | | | -Erik
* Rewrite getenvEric Andersen2002-08-071-25/+0
|
* rework getopt. no read need to split this one up sinceEric Andersen2002-08-072-583/+502
| | | | the parts are so tightly coupled.
* missed a fileEric Andersen2002-08-071-0/+1
|
* getopt testsEric Andersen2002-08-074-1/+179
|
* Updates to the working apps list from Kagan Kongar. Thanks!Eric Andersen2002-08-071-15/+39
|
* Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen2002-08-071-1/+6
| | | | | Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.
* Message catalog support for internationalization is not currentlyEric Andersen2002-08-071-0/+18
| | | | | provided by uClibc, and here I have added macros to disable it. -Erik
* Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen2002-08-074-11/+15
| | | | | | Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
* When symbols are missing, its supposed to be an error...Eric Andersen2002-08-061-0/+3
| | | | -Erik
* Several pthreads updates. Enable linuxthreads_db. Several fixesEric Andersen2002-08-0645-424/+427
| | | | | related to thread local storage. -Erik
* Fixup the last missing pieces of thread lockingEric Andersen2002-08-061-22/+80
| | | | -Erik
* Rework RPC code once again. By default, only enable theEric Andersen2002-08-0614-33/+708
| | | | | stuff needed for NFS mounts, rsh, and similar. -Erik
* Enable getpt prototype.Manuel Novoa III2002-08-061-2/+3
|
* Changed fflush() behavior to no-op for r/w streams in read-mode.Manuel Novoa III2002-08-061-17/+33
| | | | | | | | | | | | | This falls under undefined behavior wrt ANSI/ISO C99, but SUSv3 seems to treat it as a no-op and it occurs in some apps. Fixed a problem with _stdio_fwrite() not checking for underlying write() failures. Fixed both _stdio_fwrite() and _stdio_fread() to make sure that the putc and getc macros were disabled if the stream was in and error state. The above changes should take care of a problem initially reported by "Steven J. Hill" <sjhill@realitydiluted.com>.
* Unify calloc (its the same thing regardless of the underlyingEric Andersen2002-08-064-59/+35
| | | | | | | | malloc implementation). Fix problem reported to bugtraq about problems with integer overflow that can occur during the computation of the memory region size by calloc (and similar functions) which could result in a subsequent buffer overflow. -Erik
* Just in case, crash if somehow `exit' returns anywaysEric Andersen2002-08-061-0/+2
| | | | -Erik
* remove BUILDTIME since it is not usedEric Andersen2002-08-051-1/+0
|
* A couple of little cleanups I forgot to check in.Manuel Novoa III2002-08-032-3/+1
|
* When DODEBUG and HAS_WCHAR were enabled and HAS_LOCALE was disabled,Eric Andersen2002-08-031-2/+6
| | | | | | | | wchar.c wouldn't compile: wchar.c: In function `__mbsnrtowcs': wchar.c:631: `__ctype_encoding_7_bit' undeclared (first use in this function) This fixes it by keeping the locale specific asserts hidden when not relevant. -Erik
* Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader2002-08-011-1/+1
|
* (MALLOC_REALLOC_MIN_FREE_SIZE): New macro.Miles Bader2002-08-011-2/+8
| | | | Enable debugging if MALLOC_DEBUGGING is defined.
* (HEAP_MIN_SIZE): New macro.Miles Bader2002-08-011-6/+15
| | | | | (HEAP_MIN_FREE_AREA_SIZE): Increase size. Enable debugging if HEAP_DEBUGGING is defined.
* Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen2002-08-011-1/+1
|
* In the allocate-and-copy case, don't include the malloc header in ourMiles Bader2002-07-311-2/+2
| | | | size calculations.