summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-08-09Add in changes from philipc@lineo:David McCullough
Fix three bugs and bring into line with glibc: 1. The first character read using getc() was being ignored if it was EOF. Normally this is okay because the next getc() returns EOF as well, but for sscanf, this was causing us to skip the null terminator and start scanning whatever happened to be next in memory. 2. %s, %c, and %[ formats now return -1 if EOF is reached before any characters are read, instead of 0. This was causing an infinite loop in diald. 3. Default to base 10 for %i fields if not prefix modifier present.
2001-08-09Add hstrerror, it just points to strerror like h_errno.David McCullough
2001-08-09Added sigset_t casts so we behave like the other platforms.David McCullough
2001-08-09Fix a couple of warningsDavid McCullough
2001-08-09Make sure the weak aliases are defined before the functions/varsDavid McCullough
they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
2001-08-09Changed uclibc-gcc to uclibc-toolchain. Added fixups for changesDavid Schleef
in the Makefiles.
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
2001-08-06Try search for the shared lib interpreter. Eliminate all double "//"sEric Andersen
from the output -Erik
2001-08-06If /etc/ld.so.preload was size 0, the shared lib loader wouldEric Andersen
choke and die. Test for non-zero size as well, -Erik
2001-08-06Fixup the pipe system call for the SH target.David McCullough
The FD's are returned in registers.
2001-07-28Oops... left in a debugging line.Manuel Novoa III
2001-07-28Back out the changes to _uClibc_fread and loop in fread() if incomplete, toManuel Novoa III
avoid problems with fgets on tty streams. I actually did some testing this time. ;-) Note: there is a difference in behavior between glibc and uClibc here regarding fread() on a tty stream. glibc's fread() seems to return after reading all _available_ data even if not at end-of-file, while uClibc's fread() continues reading until all requested or eof or error. The latter behavior seems correct w.r.t. the standards.
2001-07-26Yes... the previous "fix" was broken too... the result of careless cuttingManuel Novoa III
and pasting while pressed for time. I haven't checked this one either. :-(
2001-07-25Ok... the fix wasn't quite so straightforward. Hopefully this will do it.Manuel Novoa III
2001-07-25Fix fread bug reported by Vodz. The fix is straightforward, but I haven'tManuel Novoa III
tested it (lack of time).
2001-07-25Fix small typo vodz reported.Manuel Novoa III
2001-07-18Fix the /lib linkDavid Schleef
2001-07-17Better generation of control, fix up DESTDIRDavid Schleef
2001-07-17Fix typo.David Schleef
2001-07-17Changes to build cross-compiling librariesDavid Schleef
2001-07-17Better rule for locating dynamic linkerDavid Schleef
2001-07-17search_for_named_library forgot to wipe the target string, so each timeEric Andersen
around the loop it was getting bigger...
2001-07-17Elimintate spurious trailing /Eric Andersen
2001-07-17Turn off USE_CACHE by default (so ldconfig, by default, isn'tEric Andersen
needed). Fix a stupid typo in dlib.c where I had several weak symbols set up backwards, breaking libdl (dlopen and friends), -Erik
2001-07-17Fix missing function when USE_CACHE is enabledEric Andersen
-Erik
2001-07-17Oops. USE_CACHE was disabled and didn't compile when enabledEric Andersen
since I'd forgotten a one liner... -Erik
2001-07-17Forgot this...Eric Andersen
2001-07-17We already have tar.h, so might as well include cpio.h as well...Eric Andersen
2001-07-17Some cleanups needed for things to compile and work as expectedEric Andersen
with the new build system... -Erik
2001-07-16use ln -fsEric Andersen
2001-07-13Scrub up a few things I forgot. Add a few more cleanups.Eric Andersen
-Erik
2001-07-13This takes about 6k off the size of the x86 shared lib loader...Eric Andersen
-Erik
2001-07-13fixperms needs the correct name for ld-uClibcDavid Schleef
2001-07-13PowerPC has a different kernel interface for termios. Grrr...David Schleef
2001-07-13The previous termios.h strongly appeared to be from a differentDavid Schleef
architecture.
2001-07-13Add test for proper realloc() behavior.David Schleef
2001-07-12This commit merges David Schleef's updates to the build system, which aEric Andersen
few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
2001-07-12Use uClibc's ldd, not the system one which is probably brokenEric Andersen
anyways. This ensures correct answers, and prevents all the annoying segfaults from the system ldd. -Erik
2001-07-12Add missing in_addr_tEric Andersen
2001-07-12Added #ifdef DEBUG where appropriate.David Schleef
Fixed icache clearing during _dl_init_got(). Added a few more reloc types. Added out-of-range check for R_PPC_REL24.
2001-07-12First cut of PowerPC port. It works for hello world, but has lotsDavid Schleef
of debugging information is still there.
2001-07-12Small fixups for powerpcDavid Schleef
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-07-11The main part of the C++ support is the definition of __BEGIN_DECLSDavid McCullough
and __END_DECLS in this file based on the __cplusplus define.
2001-07-11The weak_alias macro was not genertaing asm with the correct alias names.David McCullough
Start of the C++ header changes.
2001-07-11Fixup the atexit weak alias for elf, need to include <features.h> toDavid McCullough
get the correct value for the HAVE_ELF define.
2001-07-11Seems weak_alias wasn't working as expected...Eric Andersen
2001-07-11ldd rewrite is doneEric Andersen
2001-07-11Rewrite of ldd so it works as expected, and does not invoke theEric Andersen
shared lib loader at all. This will allow us to throw out the support code for that from ld-linux.so.0 -Erik
2001-07-10Fix the code for finding the interpreter, which was I hadEric Andersen
totally screwed up the first time... -Erik