summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-08-08Add a simple test for shared lib ctor/dtorsEric Andersen
-Erik
2002-08-08Patch from Stefan Allius and Edie C. Dost:Eric Andersen
In linuxthreads/errno.h the functions __errno_location and __h_errno_location wasn't safe against calling before the library is initialized.
2002-08-08Missed a spotEric Andersen
-Erik
2002-08-08I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen
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,
2002-08-08Fix license. I meant to say LGPL...Eric Andersen
-Erik
2002-08-08Patch from Stefan Allius and Edie C. Dost to add SuperHEric Andersen
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
2002-08-08Patch from Stefan Allius and Edie C. Dost to let ldd andEric Andersen
readelf compile under solaris.
2002-08-08Make pump happy. Add in this header.Eric Andersen
-Erik
2002-08-08I missed a fileEric Andersen
2002-08-08Fix a silly bug with using fstat64 instead of just fstat. NoEric Andersen
reason for 64bit stuff just to check perms. -Erik
2002-08-08Remove unified syscall support (it should just be a per-archEric Andersen
decision, with syscalls.h adjusted to match). Add symlinks to make tools like mklibs.py be happy. -Erik
2002-08-08Disable unused unifed stuffEric Andersen
-Erik
2002-08-08Update default config filesEric Andersen
2002-08-08Update status of reentrance supportEric Andersen
2002-08-08Make some strings constEric Andersen
-Erik
2002-08-08Fix lockingEric Andersen
-Erik
2002-08-08Fix lockingEric Andersen
2002-08-08Cleanup warnings and fix prototypesEric Andersen
-Erik
2002-08-08Add missing include fileEric Andersen
2002-08-08Cleanup some silly warningsEric Andersen
2002-08-08Avoid bad things happening on macro expansion...Eric Andersen
-Erik
2002-08-08Cleanup to avoid some undefined behaviorEric Andersen
-Erik
2002-08-07Ignore symbol '_gp_disp' if it's missing from 'libgcc.a'. That's okay for"Steven J. Hill"
MIPS platforms.
2002-08-07Add getrpcent.c to default rpc buildEric Andersen
2002-08-07Cleanup crypt and remove the crypt_r stuff, since SuSv3Eric Andersen
(IEEE Std 1003.1-2001) states that crypt need not be reentrant. -Erik
2002-08-07Remove some noiseEric Andersen
2002-08-07Changed my mind. Keep this separate.Eric Andersen
-Erik
2002-08-07Rewrite getenvEric Andersen
2002-08-07rework getopt. no read need to split this one up sinceEric Andersen
the parts are so tightly coupled.
2002-08-07missed a fileEric Andersen
2002-08-07getopt testsEric Andersen
2002-08-07Updates to the working apps list from Kagan Kongar. Thanks!Eric Andersen
2002-08-07Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen
Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.
2002-08-07Message catalog support for internationalization is not currentlyEric Andersen
provided by uClibc, and here I have added macros to disable it. -Erik
2002-08-07Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen
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
2002-08-06When symbols are missing, its supposed to be an error...Eric Andersen
-Erik
2002-08-06Several pthreads updates. Enable linuxthreads_db. Several fixesEric Andersen
related to thread local storage. -Erik
2002-08-06Fixup the last missing pieces of thread lockingEric Andersen
-Erik
2002-08-06Rework RPC code once again. By default, only enable theEric Andersen
stuff needed for NFS mounts, rsh, and similar. -Erik
2002-08-06Enable getpt prototype.Manuel Novoa III
2002-08-06Changed fflush() behavior to no-op for r/w streams in read-mode.Manuel Novoa III
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>.
2002-08-06Unify calloc (its the same thing regardless of the underlyingEric Andersen
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
2002-08-06Just in case, crash if somehow `exit' returns anywaysEric Andersen
-Erik
2002-08-05remove BUILDTIME since it is not usedEric Andersen
2002-08-03A couple of little cleanups I forgot to check in.Manuel Novoa III
2002-08-03When DODEBUG and HAS_WCHAR were enabled and HAS_LOCALE was disabled,Eric Andersen
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
2002-08-01Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader
2002-08-01(MALLOC_REALLOC_MIN_FREE_SIZE): New macro.Miles Bader
Enable debugging if MALLOC_DEBUGGING is defined.
2002-08-01(HEAP_MIN_SIZE): New macro.Miles Bader
(HEAP_MIN_FREE_AREA_SIZE): Increase size. Enable debugging if HEAP_DEBUGGING is defined.
2002-08-01Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!Eric Andersen