summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-12-31Add extra checks for sigprocmask and rt_sigprocmask syscalls.Eric Andersen
The rt_sigprocmask syscall has broken error handling in 2.4.x kernels, while the sigprocmask syscall appears to get things right. Regardless we should be extra careful, and add these checks.
2003-12-30Fix the manditory typo in my last minute untested fix.Eric Andersen
-Erik
2003-12-30Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen
2003-12-30Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen
Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik
2003-12-30Update and restore malloc-simple. Slow as molasses, but triviallyEric Andersen
simple and releases memory immediately when asked to do so. -Erik
2003-12-28Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6Eric Andersen
support) which could cause things like EOF and read errors while reading /etc/services to always return a TRY_AGAIN. The perl test suite would alloc a larger buffer and try again until all memory was exhausted. When we get a read error, or EOF, it means we didn't get what we wanted, and so we should return an error. Doing so fixes the failing perl 5.8.2 test. -Erik
2003-12-28Fix whitespaceEric Andersen
2003-12-28remove unused fileEric Andersen
2003-12-27Handle the app_fini stuff in exit without requiring atexit().Manuel Novoa III
This avoids pulling in all the malloc/free code for a simple true/false app.
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
2003-12-22oopsEric Andersen
2003-12-22implement the worthless cuserid() function we claim to support.Eric Andersen
This isn't in SuSv3, but is expected by at least some apps such as emacs...
2003-12-22In unistd.h, getpgrp() is redirected to __getpgid(), butEric Andersen
we did not have a __getpgid(). Fix that.
2003-12-22That was awfully stupid.Eric Andersen
2003-12-22Use 'sed -i -e' rather than 'sed -ie' since we don't wantEric Andersen
to leave backup files with "e" appended scattered all over the place.
2003-12-22Update the config used when building a .debEric Andersen
2003-12-19dev systems updatedEric Andersen
2003-12-17Use PAGE_SIZE rather than hard coding 4096Eric Andersen
2003-12-17Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen
Here's the patch for the ldso bits for sh64. This is still in need of a bunch of debugging, testing, etc. and is really only being submitted for general completeness. This assumes that the previous patches I've submitted have already been applied. I plan on playing with this and buildroot some more later, as I'd definitely like to see buildroot images for sh64.
2003-12-17Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen
For sh64 we need implicit access to the symtab, primarily to get at the ->st_other value. This presently isn't possible, as PERFORM_BOOTSTRAP_RELOC() is invoked as such: PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr); while we can easily get the symtab_index value from rpnt->r_info, this still doesn't buy us easy access to the actual table. As such, I've modified PERFORM_BOOTSTRAP_RELOC() to take an additional SYMTAB argument. Most architectures aren't going to care about this, but unfortunately we don't have any other options for sh64. The following patch fixes up the API for what we need for sh64, and updates the other architectures appropriately.
2003-12-17Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen
The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree.
2003-12-17When I switched from using stack allocated space for printf, I missed a caseEric Andersen
where a sizeof(foo) was changed to the sizeof a pointer. This caused _dl_printf to complain a lot when debug is enabled (which itself revealed a bug since it should have exited on buffer overflow), and let me to find another bug, where memory failures would try to recursively call _dl_printf.... What a mess.
2003-12-17Add in the axis network camerasEric Andersen
2003-12-16Add LEAF Bering-uClibcEric Andersen
2003-12-16fix grammer such it is possible to understand what is written...Eric Andersen
2003-12-16Update for release (no really this time ;-)Eric Andersen
2003-12-16Update the websiteEric Andersen
2003-12-14Link ldconfig with the appropriate libraries.Manuel Novoa III
2003-12-14Fix some dst issues in _time_mktime().Manuel Novoa III
Normalize the tm_isdst value to -1, 0, or 1. If no dst for this timezone, then reset tm_isdst to 0.
2003-12-14Fix a couple of 'declaration after statement' errors.Manuel Novoa III
2003-12-11fix a cut-n-paste typoEric Andersen
2003-12-11add image for validatorEric Andersen
2003-12-11fixup some silly html bugsEric Andersen
2003-12-11mjn3 found a url for the darwin C libEric Andersen
2003-12-11more minor cleanupsEric Andersen
2003-12-11Rework the websiteEric Andersen
2003-12-08Prepare for uClibc 0.9.24 releaseEric Andersen
2003-12-05Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
This patch adds the libpthread backend bits for sh64. As noted previously, we can't inline things like the testandset() in pt-machine.h as we need to use a completely different ISA / CFLAGS in order for this to work. As a result, this patch is somewhat of a RFC as well to see what people think of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach I've taken currently has been to provide a sysdeps/Makefile with a note that TARGET_ARCHs that want build rules can simply add themselves into the list of matching architectures to add to the subdir rule for. This probably isn't the cleanest solution, but it's quite transparent and works quite well.
2003-12-05move _dl_fixup so staticly linked apps using dlopen have aEric Andersen
chance of actually working
2003-12-04Fix infinite loop in putgrent (forgotten increment).Manuel Novoa III
2003-12-04Fix arm profiling support, which was accidentally removedEric Andersen
2003-12-04Set the default stdio buffer size to 4096, rather then 256.Eric Andersen
256 is fine of course, but many applications use this value and expect it to be larger.
2003-12-04Don't download the local data if we have it already.Manuel Novoa III
2003-12-04Building of iconv.o was accidently always disabled.Manuel Novoa III
Also, build the iconv app in utils.
2003-12-03Henrik Grindal Bakken writes:Eric Andersen
The patch touches a minor (well, not that minor, but perhaps only rarely encountered) bug in the powerpc dynamic linker. The problem is that addi is called in inline assembly, but there is no restriction on the second argument. In powerpc assembler, if the second argument to addi is r0, it is taken as the value 0, not the contents of r0. This happened to me, making the stack pointer 0 on the invocation on the application. The patch is against 0.9.22, but there didn't seem to be any changes to the relevant section in 0.9.23.
2003-12-03Joakim Tjernlund writes:Eric Andersen
This is just a wild guess, but you could try this to see if it fixes Richards problem:
2003-12-03Lethal noticed that the generated file gmon-start.S was notEric Andersen
being cleaned up.
2003-12-03Patch from lethal, adding syscall() to the sh64 portEric Andersen
2003-12-03Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas for the relevant platforms (in this case, h8, sh, and m32r). The same changes have already been going on in gcc/binutils/gdb/glibc/etc.
2003-12-03Eliminate some static buffers based on a patch from Tobias AnderbergEric Andersen