summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-06-28Changes for new auto-generated syscall.hDavid McCullough
2001-06-28Changes to support autogenerated syscall.hDavid McCullough
2001-06-28sysdep.h was not providing all the needed bits to build working asm withDavid McCullough
some compilers, so define any macros we need that are not defined already. Needed to include uClibc_config.h to get some defines. New syscall header files for _mmap vfork.c is not used so ditch it.
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
2001-06-27the minimum needed for nowDavid McCullough
2001-06-27Added this guy, nothing needed here really.David McCullough
2001-06-27Cleanup to not use kernel headers at all.Eric Andersen
-Erik
2001-06-27Cleanup and don't require LIBC to be defined for the syscall numbers.Eric Andersen
2001-06-27Remove nonstandard functions.Manuel Novoa III
2001-06-27Remove obsolete files tell.c and getdents.cManuel Novoa III
2001-06-27Stub out an initial version. Manuel will be writingEric Andersen
some code to autogenerate this stuff...
2001-06-27Don't even threaten to include asm/* stuffEric Andersen
2001-06-27Don't include asm/unistd.hEric Andersen
2001-06-27Step one in a process to ween ourselves off of using asm/unistd.h.Eric Andersen
This will break the build for a bit. -Erik
2001-06-27Fix syntax error in comment.Manuel Novoa III
2001-06-27Make these PIC and _LIBC_REENTRANT compatible.Manuel Novoa III
2001-06-27For now, we need to explicitly make clean in libc/unistd (sysconf stuff)Manuel Novoa III
and libc/sysdeps/linux/common (unified syscall stuff).
2001-06-27Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III
2001-06-26ANSI/ISO specifies that no library function sets errno to 0.Manuel Novoa III
2001-06-26Looks like we lost clearing errnoEric Andersen
2001-06-26Change to allow compiling against unconfigured kernels. CreatesDavid Schleef
symlink to include/asm-${arch} instead of include/asm.
2001-06-25Note need to fix scandir.c's dynamic memory handling.Manuel Novoa III
2001-06-25Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III
the straight getdents syscall instead of the wrapper (which leaked memory).
2001-06-25Add in missing syscalls.h for powerpcEric Andersen
2001-06-25Fixed vfork so the child doesn't trash the parents return address.David McCullough
2001-06-23Make PIC a config optionEric Andersen
2001-06-23This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
2001-06-21Patch from Shane Nay, who noticed that these were not properly labelingEric Andersen
functions as such, thereby hosing the shared lib loader.
2001-06-19Oops... forgot to remove rint.c from the makefile.Manuel Novoa III
2001-06-19Remove Erik's broken implementation of rint(). Replace it by one "less broken".Manuel Novoa III
Also correct rounding beharior of round() and add trunc(). Note that round() and rint() currently don't check for infs and nans. I decided to wait on that until the big cleanup.
2001-06-19Add in "HAVE_SHARED" so shared libs build or not as neededEric Andersen
-Erik
2001-06-19This was violating policy and using a kernel header file...Eric Andersen
-Erik
2001-06-18This commit finishes adding support for the old m68k-coff toolchains byEric Andersen
working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
2001-06-18I went nuts and wrote a generic rint implementation. I think it isEric Andersen
correct per the man page and a little testing seems to show it works. -Erik
2001-06-17Update TODO file.Manuel Novoa III
2001-06-17Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III
glibc-2.2.2 actually defines static inline versions for i386, but only provides prototypes for externs for the other archs I looked at. Since uClibc shares this header amongst archs, I stashed the inline defs in bits/io_i386.h and included it when __i386__ was defined. Better solutions are most welcome, but it doesn't clutter sys/io.h too badly and now lilo and the pcmcia tools build against uClibc on i386 without modification.
2001-06-15A few build updatesEric Andersen
2001-06-15These are needed for powerpc to compileEric Andersen
2001-06-15Note missing struct _res in resolv.hEric Andersen
2001-06-15Make some nice SEND_ADDRESS_STDERR and SEND_NUMBER_STDERR macros thatEric Andersen
operate inline, to help when debugging ldso (i.e. before we can do things like function calls). -Erik
2001-06-15Now that our compiler wrapper is up to it, we can now use TARGET_CCEric Andersen
to compile ldso, simplifying the process of passing in special CFLAGS and such (and simplifying the build in general since we no longer need to go directly to LD to link things). -Erik
2001-06-15Make strrchr not call other string functions. HopefullyEric Andersen
speeding it a bit.
2001-06-15I am very proud of myself. I managed to write a working _start forEric Andersen
x86 entirely in C -- no asm required. muahahahaha! -Erik
2001-06-15Add in (stub out really) __libc_current_sigrtmin, andEric Andersen
__libc_current_sigrtmax so current versions of ash will compile. -Erik
2001-06-15Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen
--uclibc-use-build-dir
2001-06-15Make all the uClibc tests use the --uclibc-use-build-dir flagEric Andersen
2001-06-14Some silly grammar stuffEric Andersen
2001-06-14Yet more ldso cleanups. Be more discriminating about when using inlinesEric Andersen
and when using real functions. Make things be more portable by providing a default C routine to locate the got. -Erik
2001-06-13Fix a really stupid bug with ttyname, thanks to a patch fromEric Andersen
Stefan Soucek <ssoucek@coactive.com>
2001-06-13Don't create a fake readelf app. We are creating a real one now.Eric Andersen
-Erik