summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-08-10Update the build system, yet again. I hope this is the last time...Eric Andersen
Here is the basic theory of operation: SHARED_LIB_LOADER_PATH/ <The location where the shared lib loader will be installed and where the compiler will cause apps to look for it.> DEVEL_PREFIX/ bin/ <contains gcc, ld, etc for setting PATH=$DEVEL_PREFIX/bin:$PATH> lib/ <contains all runtime and static libs> include/ <Where all the header files go> SYSTEM_DEVEL_PREFIX/ usr/bin/ <contains arch-uclibc-gcc, arch-uclibc-ld, etc that might be installed by a .deb or .rpm into /usr/bin, but can happily live under DEVEL_PREFIX> PREFIX This is prepended during 'make install's allowing you to shift things to be installed under some alternate location (such as when building a .deb) -Erik
2001-08-10Make _PATH_VARRUN actually point to /var/run.David McCullough
2001-08-09Fix behavior when installing the devel env, since somewhereEric Andersen
along the line this got messed up...
2001-08-09Add cmsg_nxthdr function for the cases where the headersDavid McCullough
do not so it inline.
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.