summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-11-02Implement getgrent_r. Rework getpwent and getgrent a bit furtherEric Andersen
2003-11-02Both setegid and seteuid were implemented suboptimally, such thatEric Andersen
we were unable to switch back to the original saved group/user ID. -Erik
2003-11-02Add some missing prototypesEric Andersen
2003-11-02Be extra careful to check uid and gid converstions to kernel typesEric Andersen
2003-11-02Make the syscall locally, avoid an externEric Andersen
2003-11-02If realloc failed, we'd lose the pointer to the exit function table.Manuel Novoa III
2003-11-02Hopefully fix the struct tm extension problem once and for all.Manuel Novoa III
Also fix a dst-related bug which caused the use of uninitialized data.
2003-11-01Add some additional pwd/grp tests, to prevent me fromEric Andersen
breaking obvious things in the future. -Erik
2003-11-01Fix things (properly) to open /etc/passd and /etc/group ifEric Andersen
they have not yet been opened. My last try was completely and embarrasingly broken. -Erik
2003-11-01this script is no longer used, and can be removed.Eric Andersen
2003-10-31Fix Erik's typo.Manuel Novoa III
2003-10-31Some more soft float fixes... for arm in particular (libfloat).Manuel Novoa III
Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway.
2003-10-31getpwent(), getpwent_r(), and getgrent(), getgrent_r() would allEric Andersen
fail if you had not previously called setpwent() or setgrent() respectively. Oops. My bad. -Erik
2003-10-31gdb wants to dlopen "libthread_db.so.1", so be sure to assignEric Andersen
the correct soname
2003-10-25properly deal with soft-float when profiling as wellEric Andersen
2003-10-25Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III
2003-10-24Sigh. It seems some stupid programs expect this...Eric Andersen
2003-10-24Disable optimizations with debuggingEric Andersen
2003-10-24better tuning for xscale that copes with generally available toolchainsEric Andersen
2003-10-23Peter Kjellerstedt writes:Eric Andersen
The attached patch performs a clean up of extra/gcc-uClibc/gcc-uClibc.c: * Use NULL for pointers and '\0' for characters; not the opposite... * Fixed an (assumed) segv if --uclibc-cc was used. * Skip the argument to -x so it isn't considered to be a source file. * Simplified the loop in xstrcat(). * A little white space clean up. //Peter
2003-10-22Peter S. Mazinger pointed out that I missed a spot. I shouldEric Andersen
stop applying patches by hand...
2003-10-22Per suggestion and patch from Ken Staton, emulates poll usingEric Andersen
select for older 2.0 kernels where poll is missing.
2003-10-22Atsushi Nemoto writes:Eric Andersen
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef. Here is a patch.
2003-10-22It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen
also exported by the Linux kernel.h header that we do not include.
2003-10-21Those crazy binutils folks changed their abi. Add this so olderEric Andersen
apps can cope gracefully.
2003-10-21Doh! In include/bits/uClibc_config.h when we define things, we appropriatelyEric Andersen
prepend "__". Unfortunately, when we #undef things, we do not prepend the "__". This results in collateral damage to unsuspecting applications as we undefine random unrelated macros. Oops. For example, when compiling xfree86, libGLcore.a defines MALLOC for its own usage. But include/bits/uClibc_config.h then does an #undef MALLOC #define __MALLOC_930716__ 1 which inadvertantly trashes the define from libGLcore.... Ouch. The autogenerated include/bits/uClibc_config.h should instead have contained: #undef __MALLOC__ #define __MALLOC_930716__ 1 This patch makes that happen.
2003-10-20Fix a stupid bug that caused uClibc to never provide the correctEric Andersen
fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
2003-10-20Patch from Peter S. Mazinger:Eric Andersen
patch to allow building uClibc with busybox's chmod
2003-10-20Merge some newer/updated bits from the glibc elf.hEric Andersen
2003-10-19We were failing to properly set h_errno on success, which couldEric Andersen
cause gethostbyaddr_r to keep looping allocating more and more memory each time till alloca finally caused a segfault. Ugh. This fixes that as well... -Erik
2003-10-18more install changesEric Andersen
2003-10-18Do not install the uClibc wrapper toolchain by default. MakeEric Andersen
people ask for it explicitly.
2003-10-18the runtime should not install a /bin dirEric Andersen
2003-10-18Add a new RUNTIME_PREFIXEric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-18Peter Kjellerstedt writes:Eric Andersen
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
2003-10-18Implement putgrent to make Peter S. Mazing happyEric Andersen
2003-10-17Doh!!!Eric Andersen
2003-10-17Point people to the kernel.org mirrors for downloading the devEric Andersen
systems to take some load off my server
2003-10-16Do not set errno when they asked for size 0Eric Andersen
2003-10-16Code formatting cleanup.Miles Bader
2003-10-16Don't set errno if for zero SIZE returns.Miles Bader
Code formatting cleanup.
2003-10-16More detail on the use of MALLOC_DEBUGEric Andersen
2003-10-15Updated cris configuration; added support for %m.Tobias Anderberg
2003-10-15Brett Nash writes:Eric Andersen
Hello, Attached is a patch of some changes I made to the gcc wrapper to get it to compile XFree CVS. Basically it supports the use of '-' on the command line to read stdin for gcc, as well as setting the file type back to none before adding the last too .o files if the file type was set on the command line. It is applied against uClibc-0.9.20 Regards, nash
2003-10-15Patch from Tony J. White:Eric Andersen
I've created a patch for adding dn_expand() to uClibc 0.9.21. dn_expand() is used by at least ipsec-tools and also openldap I think.
2003-10-15Doh! I was returning with an incorrect pointer type when dlopeningEric Andersen
already loaded libs, which unsurprisingly would cause dlsym() to not work at all... -Erik
2003-10-14Microblaze port from the uClinux-dist,David McCullough
contributed by John Williams <jwilliams@itee.uq.edu.au>
2003-10-14Enable full debug support for ld-uClibc and libdlEric Andersen